Phrase query
/ Phrase, / QueryPhrase query #
Returns documents that contain the exact sequence of terms, in order,
with no other terms in between (modulo slop). The text is analyzed
before matching, like the
match query.
The query’s native name is phrase; the match_phrase spelling
deserializes to the same query — an accepted alias, not
a different feature.
Inside a
...nestedquery: supported — the phrase, including itsslop, must be satisfied by ONE array element; terms keep query order.