From a98856663b560bd81ae3b1d72319c9329ed64f44 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Wed, 1 Jun 2016 20:16:12 +0200 Subject: [PATCH] Update reindex.asciidoc (#18687) Potentially fixing some copy/paste errors # Conflicts: # docs/reference/docs/reindex.asciidoc --- docs/reference/docs/reindex.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/docs/reindex.asciidoc b/docs/reference/docs/reindex.asciidoc index bde6ad8b611..0bfb44b2aaf 100644 --- a/docs/reference/docs/reindex.asciidoc +++ b/docs/reference/docs/reindex.asciidoc @@ -237,7 +237,7 @@ POST _reindex "version_type": "external" }, "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')}" } } --------------------------------------------------