Skip to content

Commit

Permalink
[DOCS] Fixed typos (_op => op) in Painless context docs (#50301)
Browse files Browse the repository at this point in the history
  • Loading branch information
consulthys authored and jrodewig committed Jan 8, 2020
1 parent 98f5eff commit a086226
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ reindexed into a target index.
`params` (`Map`, read-only)::
User-defined parameters passed in as part of the query.

`ctx['_op']` (`String`)::
`ctx['op']` (`String`)::
The name of the operation.

{ref}/mapping-routing-field.html[`ctx['_routing']`] (`String`)::
Expand All @@ -34,7 +34,7 @@ reindexed into a target index.

*Side Effects*

`ctx['_op']`::
`ctx['op']`::
Use the default of `index` to update a document. Set to `none` to
specify no operation or `delete` to delete the current document from
the index.
Expand Down Expand Up @@ -65,4 +65,4 @@ reindexed into a target index.

*API*

The standard <<painless-api-reference, Painless API>> is available.
The standard <<painless-api-reference, Painless API>> is available.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ result of query.
`params` (`Map`, read-only)::
User-defined parameters passed in as part of the query.

`ctx['_op']` (`String`)::
`ctx['op']` (`String`)::
The name of the operation.

{ref}/mapping-routing-field.html[`ctx['_routing']`] (`String`, read-only)::
Expand All @@ -35,7 +35,7 @@ result of query.

*Side Effects*

`ctx['_op']`::
`ctx['op']`::
Use the default of `index` to update a document. Set to `none` to
specify no operation or `delete` to delete the current document from
the index.
Expand Down Expand Up @@ -91,4 +91,4 @@ POST /seats/_update_by_query
}
}
--------------------------------------------------
// TEST[setup:seats]
// TEST[setup:seats]
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ add, modify, or delete fields within a single document.
`params` (`Map`, read-only)::
User-defined parameters passed in as part of the query.

`ctx['_op']` (`String`)::
`ctx['op']` (`String`)::
The name of the operation.

{ref}/mapping-routing-field.html[`ctx['_routing']`] (`String`, read-only)::
Expand All @@ -36,7 +36,7 @@ add, modify, or delete fields within a single document.

*Side Effects*

`ctx['_op']`::
`ctx['op']`::
Use the default of `index` to update a document. Set to `none` to
specify no operation or `delete` to delete the current document from
the index.
Expand Down Expand Up @@ -75,4 +75,4 @@ POST /seats/_update/3
}
}
--------------------------------------------------
// TEST[setup:seats]
// TEST[setup:seats]

0 comments on commit a086226

Please sign in to comment.