Skip to content

Commit

Permalink
Docs: Fix missing example script quote (#32010)
Browse files Browse the repository at this point in the history
  • Loading branch information
aptxx authored and Christoph Büscher committed Jul 17, 2018
1 parent 7da050d commit d791096
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void updateByQuery() {
updateByQuery.source("source_index")
.script(new Script(
ScriptType.INLINE,
"if (ctx._source.awesome == 'absolutely) {"
"if (ctx._source.awesome == 'absolutely') {"
+ " ctx.op='noop'"
+ "} else if (ctx._source.awesome == 'lame') {"
+ " ctx.op='delete'"
Expand Down

0 comments on commit d791096

Please sign in to comment.