* [DOCS] Update ESQL metadata fields page
**esql-metadata-fields.md:**
- restructured from bullet list to table format for metadata fields
- added `_index_mode` and `_source` fields to available metadata
- improved field descriptions (more detailed)
- added "usage and limitations" section
- reorganized examples into subsections with headers
- added `_score` sorting example
- added tip box linking to search documentation
* 🚙Drive by updates to search functions ref page
moved tutorial link into tip box at top
added cross-reference to search overview documentation
minor text flow improvements and punctuation fixes
* Fix id typo
* Apply suggestions from review
Co-authored-by: Bogdan Pintea <sig11@mailbox.org>
1.9 KiB
navigation_title | mapped_pages | |
---|---|---|
Search functions |
|
{{esql}} Search functions [esql-search-functions]
:::{tip} Get started with {{esql}} for search use cases with our hands-on tutorial.
For a high-level overview of search functionalities in {{esql}}, and to learn about relevance scoring, refer to {{esql}} for search. :::
{{esql}} provides a set of functions for performing searching on text fields.
Use these functions for full-text search and semantic search.
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/match_phrase.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 % :::