Update update.asciidoc

This commit is contained in:
ericamick 2016-04-20 14:45:09 -04:00 committed by Lee Hinman
parent 276b89242c
commit 3004c45f7b
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ during the "get" and "reindex".
Note, this operation still means full reindex of the document, it just
removes some network roundtrips and reduces chances of version conflicts
between the get and the index. The `_source` field need to be enabled
between the get and the index. The `_source` field needs to be enabled
for this feature to work.
For example, lets index a simple doc:
@ -110,7 +110,7 @@ curl -XPOST 'localhost:9200/test/type1/1/_update' -d '{
}'
--------------------------------------------------
If both `doc` and `script` is specified, then `doc` is ignored. Best is
If both `doc` and `script` are specified, then `doc` is ignored. Best is
to put your field pairs of the partial document in the script itself.
[float]