mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
parent
a07214da39
commit
00a568ae4b
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ client.update(updateRequest).get();
|
||||||
[[java-docs-update-api-upsert]]
|
[[java-docs-update-api-upsert]]
|
||||||
==== 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:
|
element will be used to index the fresh doc:
|
||||||
|
|
||||||
[source,java]
|
[source,java]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue