mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
parent
d2ae3ffa36
commit
b855e7d14e
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ client.update(updateRequest).get();
|
|||
[[java-docs-update-api-upsert]]
|
||||
==== Upsert
|
||||
|
||||
There is also support for `upsert`. If the document already exists, the content of the `upsert`
|
||||
There is also support for `upsert`. If the document does not exist, the content of the `upsert`
|
||||
element will be used to index the fresh doc:
|
||||
|
||||
[source,java]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue