diff --git a/docs/painless/painless-getting-started.asciidoc b/docs/painless/painless-getting-started.asciidoc index 155b5f272b4..7898631416b 100644 --- a/docs/painless/painless-getting-started.asciidoc +++ b/docs/painless/painless-getting-started.asciidoc @@ -320,7 +320,7 @@ POST hockey/player/_update_by_query Note: all of the `_update_by_query` examples above could really do with a `query` to limit the data that they pull back. While you *could* use a -See {ref}/query-dsl-script-query.html[script query] it wouldn't be as efficient +{ref}/query-dsl-script-query.html[script query] it wouldn't be as efficient as using any other query because script queries aren't able to use the inverted index to limit the documents that they have to check.