Match query
/ Match, / QueryMatch query #
Returns documents that match a provided text, number, date or boolean value. The provided text is analyzed before matching — this is the primary full-text query.
Inside a
nestedquery: supported — the text is matched per array element.
How it works #
The engine resolves the analyzer first — the analyzer parameter when
given, else the field’s search analyzer, else the built-in standard
analyzer — and runs it over the query text. Each resulting token becomes
one term clause: