elasticsearch/docs/reference/query-languages/esql/functions-operators/search-functions.md
Craig Taverner 67b15ad5d8
Split ES|QL functions/operators/commands into separate pages for similar functions and make commands examples generated (#126279)
While the internal structure of the docs is already split into many (over 1000) sub-pages, the final display for the `Functions and Operators` page is a single giant page, making navigation harder. This PR splits it into separate pages, one for each group of similar functions and one for the operators. Twelve new pages.

This PR also bundles a few other related changes. In total what is done is:
* Split functions/operators into 12 pages, one for each group, maintaining the existing split of each function/operator into a snippet with dynamically generated examples
* Split esql-commands.md into source-commands.md and processing-commands.md, each of which is split into individual snippets, one for each command
* Each command snippet has it's examples split out into separate files, if they were examples that were dynamically generated in the older asciidoc system
* The examples files are overwritten by the ES|QL unit tests, using a similar mechanism to the examples written for functions and operators)
* Some additional refinements to the Kibana definition and markdown files (nicer operator headings, and display text)
2025-04-10 15:56:05 +02:00

1.6 KiB

navigation_title mapped_pages
Search functions
https://www.elastic.co/guide/en/elasticsearch/reference/current/esql-functions-operators.html#esql-search-functions

{{esql}} Search functions [esql-search-functions]

Use these functions for full-text search and semantic search.

Get started with {{esql}} for search use cases with our hands-on tutorial.

Full text functions can be used to match multivalued fields. 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

See full text search limitations 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/qstr.md :::

% TERM is currently a hidden feature % To make it visible again, uncomment this and the line in lists/search-functions.md % :::{include} ../_snippets/functions/layout/term.md % :::