From 3004c45f7b9418be9d527894116eb607758badc4 Mon Sep 17 00:00:00 2001 From: ericamick Date: Wed, 20 Apr 2016 14:45:09 -0400 Subject: [PATCH] Update update.asciidoc --- docs/reference/docs/update.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/docs/update.asciidoc b/docs/reference/docs/update.asciidoc index 316714259e0..405f9b0494b 100644 --- a/docs/reference/docs/update.asciidoc +++ b/docs/reference/docs/update.asciidoc @@ -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]