mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
Update update.asciidoc
The upserts section should be on the same page as updates.
This commit is contained in:
parent
a3f2677b70
commit
ab250164f0
@ -126,6 +126,8 @@ curl -XPOST 'localhost:9200/test/type1/1/_update' -d '{
|
||||
If `name` was `new_name` before the request was sent then the entire update
|
||||
request is ignored.
|
||||
|
||||
[[upserts]]
|
||||
[float]
|
||||
=== Upserts
|
||||
There is also support for `upsert`. If the document does
|
||||
not already exists, the content of the `upsert` element will be used to
|
||||
@ -190,6 +192,7 @@ curl -XPOST 'localhost:9200/test/type1/1/_update' -d '{
|
||||
--------------------------------------------------
|
||||
|
||||
|
||||
[float]
|
||||
=== Parameters
|
||||
|
||||
The update operation supports similar parameters as the index API,
|
||||
|
Loading…
x
Reference in New Issue
Block a user