-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[ES|QL] Add MATCH_PHRASE #127661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[ES|QL] Add MATCH_PHRASE #127661
Changes from all commits
3bcc654
baee81b
13ccda7
c8e6770
d02864e
49ae77f
9769fca
5f14d2e
8095a28
6ff795b
4220843
4b5f4fa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 127661 | ||
summary: Add MATCH_PHRASE | ||
area: ES|QL | ||
type: enhancement | ||
issues: [] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
* [preview] [`KQL`](../../functions-operators/search-functions.md#esql-kql) | ||
* [preview] [`MATCH`](../../functions-operators/search-functions.md#esql-match) | ||
* [preview] [ | ||
Check failure on line 3 in docs/reference/query-languages/esql/_snippets/lists/search-functions.md
|
||
`MATCH_PHRASE`](../../functions-operators/search-functions.md#esql-match-phrase) | ||
* [preview] [`QSTR`](../../functions-operators/search-functions.md#esql-qstr) | ||
% * [preview] [`TERM`](../../functions-operators/search-functions.md#esql-term) | ||
% * [preview] [ | ||
`TERM`](../../functions-operators/search-functions.md#esql-term) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,33 +6,45 @@ mapped_pages: | |
|
||
# {{esql}} Search functions [esql-search-functions] | ||
|
||
Use these functions for [full-text search](docs-content://solutions/search/full-text.md) and [semantic search](docs-content://solutions/search/semantic-search/semantic-search-semantic-text.md). | ||
Use these functions | ||
for [full-text search](docs-content://solutions/search/full-text.md) | ||
and [semantic search](docs-content://solutions/search/semantic-search/semantic-search-semantic-text.md). | ||
|
||
Get started with {{esql}} for search use cases with our [hands-on tutorial](docs-content://solutions/search/esql-search-tutorial.md). | ||
Get started with {{esql}} for search use cases with | ||
our [hands-on tutorial](docs-content://solutions/search/esql-search-tutorial.md). | ||
|
||
Full text functions can be used to match [multivalued fields](/reference/query-languages/esql/esql-multivalued-fields.md). A multivalued field that contains a value that matches a full text query is considered to match the query. | ||
Full text functions can be used to | ||
match [multivalued fields](/reference/query-languages/esql/esql-multivalued-fields.md). | ||
A multivalued field that contains a value that matches a full text query is | ||
considered to match the query. | ||
|
||
Full text functions are significantly more performant for text search use cases on large data sets than using pattern matching or regular expressions with `LIKE` or `RLIKE` | ||
Full text functions are significantly more performant for text search use cases | ||
on large data sets than using pattern matching or regular expressions with | ||
`LIKE` or `RLIKE` | ||
|
||
See [full text search limitations](/reference/query-languages/esql/limitations.md#esql-limitations-full-text-search) for information on the limitations of full text search. | ||
See [full text search limitations](/reference/query-languages/esql/limitations.md#esql-limitations-full-text-search) | ||
for information on the limitations of full text search. | ||
|
||
{{esql}} supports these full-text search functions: | ||
|
||
:::{include} ../_snippets/lists/search-functions.md | ||
::: | ||
|
||
|
||
:::{include} ../_snippets/functions/layout/kql.md | ||
::: | ||
|
||
:::{include} ../_snippets/functions/layout/match.md | ||
::: | ||
|
||
:::{include} ../_snippets/functions/layout/match_phrase.md | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. again I don't think we need this since the function is not available outside snapshots |
||
::: | ||
|
||
:::{include} ../_snippets/functions/layout/qstr.md | ||
::: | ||
|
||
% TERM is currently a hidden feature | ||
% To make it visible again, uncomment this and the line in lists/search-functions.md | ||
% To make it visible again, uncomment this and the line in | ||
lists/search-functions.md | ||
% :::{include} ../_snippets/functions/layout/term.md | ||
% ::: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to modify this file, because the function is just available in snapshot.
At most you can comment this one with a
%
as we do for the term function.