File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ will still add it, since its a list):
4848--------------------------------------------------
4949curl -XPOST 'localhost:9200/test/type1/1/_update' -d '{
5050 "script" : {
51- "inline": "ctx._source.tags += params.tag",
51+ "inline": "ctx._source.tags.add( params.tag) ",
5252 "lang": "painless",
5353 "params" : {
5454 "tag" : "blue"
@@ -247,7 +247,7 @@ Timeout waiting for a shard to become available.
247247
248248`wait_for_active_shards`::
249249
250- The number of shard copies required to be active before proceeding with the update operation.
250+ The number of shard copies required to be active before proceeding with the update operation.
251251See <<index-wait-for-active-shards,here>> for details.
252252
253253`refresh`::
You can’t perform that action at this time.
0 commit comments