Skip to content

Commit

Permalink
Update to support bulk updates by query (#27172)
Browse files Browse the repository at this point in the history
Getting started doc stated that bulk updates by query are not supported but they are now
  • Loading branch information
boristyukin authored and javanna committed Nov 6, 2017
1 parent 3d46c58 commit 6c81489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ POST /customer/external/1/_update?pretty

In the above example, `ctx._source` refers to the current source document that is about to be updated.

Note that as of this writing, updates can only be performed on a single document at a time. In the future, Elasticsearch might provide the ability to update multiple documents given a query condition (like an `SQL UPDATE-WHERE` statement).
Elasticsearch provides the ability to update multiple documents given a query condition (like an `SQL UPDATE-WHERE` statement). See {ref}/docs-update-by-query.html[`docs-update-by-query` API]

=== Deleting Documents

Expand Down

0 comments on commit 6c81489

Please sign in to comment.