elasticsearch/docs/reference/query-languages
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
..
eql [docs] Fix various syntax and rendering errors (#127062) 2025-04-24 17:57:03 +02:00
esql [ES|QL] Add MATCH_PHRASE (#127661) 2025-06-04 12:32:24 -04:00
images [DOCS] Fix broken images (#126648) 2025-04-11 19:04:08 -07:00
query-dsl [DOCS] Fix missing spaces (#128550) 2025-06-04 18:59:42 +03:00
sql [DOCS] Replace irregular whitespaces in docs (#128199) 2025-05-20 16:20:22 +02:00
eql.md Restructure query-languages docs files for clarity (#124797) 2025-03-17 17:58:58 +01:00
esql.md [DOCS][9.x] Improve ESQL reference docs information architecture (#127248) 2025-04-25 09:54:45 +02:00
index.md [Reference] Revisit query language landing page (#127632) 2025-05-07 08:44:49 +02:00
kql.md Fix broken cross-repo links, versions in search connectors docker instructions (#123700) 2025-02-28 16:02:54 +01:00
querydsl.md Restructure query-languages docs files for clarity (#124797) 2025-03-17 17:58:58 +01:00
sql.md Restructure query-languages docs files for clarity (#124797) 2025-03-17 17:58:58 +01:00
toc.yml [DOCS][9.x] Improve ESQL reference docs information architecture (#127248) 2025-04-25 09:54:45 +02:00