Browse Source

Update reindex.asciidoc (#18687)

Potentially fixing some copy/paste errors
# Conflicts:
#	docs/reference/docs/reindex.asciidoc
Clinton Gormley 9 years ago
parent
commit
a98856663b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/docs/reindex.asciidoc

+ 1 - 1
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')}"
   }
 }
 --------------------------------------------------