Browse Source

Merge pull request #11868 from YoungHu/patch-1

correct mis-type in update docs
Clinton Gormley 10 years ago
parent
commit
64d8834a6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/java-api/update.asciidoc

+ 1 - 1
docs/java-api/update.asciidoc

@@ -71,7 +71,7 @@ client.update(updateRequest).get();
 [[java-update-api-upsert]]
 === Upsert
 
-There is also support for `upsert`. If the document does not already exists, the content of the `upsert`
+There is also support for `upsert`. If the document already exists, the content of the `upsert`
 element will be used to index the fresh doc:
 
 [source,java]