Update reindex.asciidoc (#18687)
Potentially fixing some copy/paste errors # Conflicts: # docs/reference/docs/reindex.asciidoc
This commit is contained in:
parent
1b66d4a97f
commit
a98856663b
|
@ -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')}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue