[DOCS] Fixed typos (_op => op) in Painless context docs (#50301)

This commit is contained in:
Valentin Crettaz 2020-01-08 17:50:03 +01:00 committed by James Rodewig
parent 5ff6eafb4b
commit f3ddd4066a
3 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@ reindexed into a target index.
`params` (`Map`, read-only):: `params` (`Map`, read-only)::
User-defined parameters passed in as part of the query. User-defined parameters passed in as part of the query.
`ctx['_op']` (`String`):: `ctx['op']` (`String`)::
The name of the operation. The name of the operation.
{ref}/mapping-routing-field.html[`ctx['_routing']`] (`String`):: {ref}/mapping-routing-field.html[`ctx['_routing']`] (`String`)::
@ -34,7 +34,7 @@ reindexed into a target index.
*Side Effects* *Side Effects*
`ctx['_op']`:: `ctx['op']`::
Use the default of `index` to update a document. Set to `none` to Use the default of `index` to update a document. Set to `none` to
specify no operation or `delete` to delete the current document from specify no operation or `delete` to delete the current document from
the index. the index.
@ -65,4 +65,4 @@ reindexed into a target index.
*API* *API*
The standard <<painless-api-reference, Painless API>> is available. The standard <<painless-api-reference, Painless API>> is available.

View File

@ -11,7 +11,7 @@ result of query.
`params` (`Map`, read-only):: `params` (`Map`, read-only)::
User-defined parameters passed in as part of the query. User-defined parameters passed in as part of the query.
`ctx['_op']` (`String`):: `ctx['op']` (`String`)::
The name of the operation. The name of the operation.
{ref}/mapping-routing-field.html[`ctx['_routing']`] (`String`, read-only):: {ref}/mapping-routing-field.html[`ctx['_routing']`] (`String`, read-only)::
@ -35,7 +35,7 @@ result of query.
*Side Effects* *Side Effects*
`ctx['_op']`:: `ctx['op']`::
Use the default of `index` to update a document. Set to `none` to Use the default of `index` to update a document. Set to `none` to
specify no operation or `delete` to delete the current document from specify no operation or `delete` to delete the current document from
the index. the index.
@ -91,4 +91,4 @@ POST /seats/_update_by_query
} }
} }
-------------------------------------------------- --------------------------------------------------
// TEST[setup:seats] // TEST[setup:seats]

View File

@ -9,7 +9,7 @@ add, modify, or delete fields within a single document.
`params` (`Map`, read-only):: `params` (`Map`, read-only)::
User-defined parameters passed in as part of the query. User-defined parameters passed in as part of the query.
`ctx['_op']` (`String`):: `ctx['op']` (`String`)::
The name of the operation. The name of the operation.
{ref}/mapping-routing-field.html[`ctx['_routing']`] (`String`, read-only):: {ref}/mapping-routing-field.html[`ctx['_routing']`] (`String`, read-only)::
@ -36,7 +36,7 @@ add, modify, or delete fields within a single document.
*Side Effects* *Side Effects*
`ctx['_op']`:: `ctx['op']`::
Use the default of `index` to update a document. Set to `none` to Use the default of `index` to update a document. Set to `none` to
specify no operation or `delete` to delete the current document from specify no operation or `delete` to delete the current document from
the index. the index.
@ -75,4 +75,4 @@ POST /seats/_update/3
} }
} }
-------------------------------------------------- --------------------------------------------------
// TEST[setup:seats] // TEST[setup:seats]