match_phrase.md 1.0 KB

% This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.

Description

Use MATCH_PHRASE to perform a match_phrase query on the specified field. Using MATCH_PHRASE is equivalent to using the match_phrase query in the Elasticsearch Query DSL. MatchPhrase can be used on text fields, as well as other field types like keyword, boolean, or date types. MatchPhrase is not supported for semantic_text or numeric types. MatchPhrase can use function named parameters to specify additional options for the match_phrase query. All match_phrase query parameters are supported. MATCH_PHRASE returns true if the provided query matches the row.