[DOCS] Fixed typos (_op => op) in Painless context docs (#50301)
This commit is contained in:
parent
5ff6eafb4b
commit
f3ddd4066a
|
@ -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.
|
||||||
|
|
|
@ -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]
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue