Update reindex.asciidoc (#18687)

Potentially fixing some copy/paste errors
# Conflicts:
#	docs/reference/docs/reindex.asciidoc
This commit is contained in:
Clinton Gormley 2016-06-01 20:16:12 +02:00
parent 1b66d4a97f
commit a98856663b
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ POST _reindex
"version_type": "external" "version_type": "external"
}, },
"script": { "script": {
"script": "if (ctx._source.foo == 'bar') {ctx._version++; ctx._source.remove('foo')}" "inline": "if (ctx._source.foo == 'bar') {ctx._version++; ctx._source.remove('foo')}"
} }
} }
-------------------------------------------------- --------------------------------------------------