match_phrase.asciidoc 838 B

12345
  1. // This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
  2. *Description*
  3. Use `MATCH_PHRASE` to perform a <<query-dsl-match-query-phrase,`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, text>> fields, as well as other field types like keyword, boolean, or date types. MatchPhrase is not supported for <<semantic-text, semantic_text>> or numeric types. MatchPhrase can use <<esql-function-named-params,function named parameters>> to specify additional options for the match_phrase query. All <<query-dsl-match-query-phrase,`match_phrase` query>> query parameters are supported. `MATCH_PHRASE` returns true if the provided query matches the row.