elasticsearch/docs/reference
Kathleen DeRusso eee423aaa0
[ES|QL] Add MATCH_PHRASE (#127661)
* Initial commit of match_phrase

* Add MatchPhraseQueryTests

* First pass at CSV specs

* Update docs/changelog/127661.yaml

* Refactor so MatchPhrase doesn't use all fulltext test cases, just text only

* Fix tests

* Add some CSV test cases

* Fix test

* Update changelog

* Update tests

* Comment out MATCH_PHRASE in search-functions Markdown

* Minor PR feedback

* PR feedback - refactor/consolidate code

* Add some more tests

* Fix some tests

* [CI] Auto commit changes from spotless

* Fix tests

* PR feedback - add tests, support boost and numeric data

* Revert "PR feedback - add tests, support boost and numeric data"

This reverts commit 4e7a699e3e.

* Apply testing/PR feedback outside numeric support only

* Regenerate docs

* Add negative test

* Update x-pack/plugin/esql/qa/testFixtures/src/main/resources/match-phrase-function.csv-spec

Co-authored-by: Carlos Delgado <6339205+carlosdelest@users.noreply.github.com>

* Update x-pack/plugin/esql/qa/testFixtures/src/main/resources/match-phrase-function.csv-spec

Co-authored-by: Carlos Delgado <6339205+carlosdelest@users.noreply.github.com>

* Update x-pack/plugin/esql/qa/testFixtures/src/main/resources/match-phrase-function.csv-spec

Co-authored-by: Carlos Delgado <6339205+carlosdelest@users.noreply.github.com>

* PR feedback

* Fix auto-commit error

* Regenerate docs

* Update x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/MatchPhrase.java

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>

* Remove non text field types

* Fake test data

* Remove tests that no longer should pass without ip/date/version support

* Put real data in score tests now that I was able to engineer a failure

* Realized the scoring test might be flakey because how it was written, updated

* PR feedback

* PR feedback

* [CI] Auto commit changes from spotless

* Add check to MatchPhrase tests

* Fix merge errors

* [CI] Auto commit changes from spotless

* Test generated docs

* Add additional verifier tests

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
Co-authored-by: Carlos Delgado <6339205+carlosdelest@users.noreply.github.com>
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2025-06-04 12:32:24 -04:00
..
aggregations Replace chars (#128439) 2025-05-26 11:01:12 +02:00
community-contributed remove reliance on redirects in docs-content (#125863) 2025-03-28 16:41:38 +01:00
elasticsearch [DOCS] Add missing index setting link (#128794) 2025-06-03 11:40:05 -07:00
elasticsearch-plugins Replace chars (#128439) 2025-05-26 11:01:12 +02:00
enrich-processor Adding NormalizeForStreamProcessor (#125699) 2025-06-03 13:11:12 -04:00
query-languages [ES|QL] Add MATCH_PHRASE (#127661) 2025-06-04 12:32:24 -04:00
scripting-languages [docs] Add products to docset.yml (#128274) 2025-05-21 13:55:32 -05:00
search/search-your-data [DOCS] Clean up Asciidoc links in markdown files (#125046) 2025-03-19 08:03:55 -07:00
search-connectors Add Connectors release notes for 9.0.2 (#128555) 2025-06-03 15:24:06 +02:00
setup/install/docker [docs] Migrate docs from AsciiDoc to Markdown (#123507) 2025-02-27 17:56:14 +01:00
text-analysis [DOCS] Replace irregular whitespaces in docs (#128199) 2025-05-20 16:20:22 +02:00
watcher/images [docs] Migrate docs from AsciiDoc to Markdown (#123507) 2025-02-27 17:56:14 +01:00
index.md [docs] More updates for docs-assembler (#125509) 2025-03-24 14:20:14 -05:00
toc.yml [docs] More updates for docs-assembler (#125509) 2025-03-24 14:20:14 -05:00