-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[DOCS][9.x] Update ESQL metadata fields page #129939
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
Conversation
**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
moved tutorial link into tip box at top added cross-reference to search overview documentation minor text flow improvements and punctuation fixes
|
🔍 Preview links for changed docs:
🔔 The preview site may take up to 3 minutes to finish building. These links will become live once it completes. |
|
Pinging @elastic/es-docs (Team:Docs) |
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
bpintea
left a comment
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.
Lgtm, thanks!
| - The `_source` field is not supported by functions | ||
| - Only the `FROM` command supports the `METADATA` directive | ||
| - Once enabled, metadata fields work like regular index fields | ||
| - Fields are dropped after aggregations unless used for grouping ([example](#metadata-fields-and-aggregations)) |
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.
Nit: this is true, but this is not metadata fields-specific.
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.
I'll remove 👍
| | [`_id`](/reference/elasticsearch/mapping-reference/mapping-id-field.md) | [keyword](/reference/elasticsearch/mapping-reference/keyword.md) | Unique document ID. | | ||
| | [`_ignored`](/reference/elasticsearch/mapping-reference/mapping-ignored-field.md) | [keyword](/reference/elasticsearch/mapping-reference/keyword.md) | Names every field in a document that was ignored when the document was indexed. | | ||
| | [`_index`](/reference/elasticsearch/mapping-reference/mapping-index-field.md) | [keyword](/reference/elasticsearch/mapping-reference/keyword.md) | Index name. | | ||
| | `_index_mode` | [keyword](/reference/elasticsearch/mapping-reference/keyword.md) | [Index mode](/reference/elasticsearch/index-settings/index-modules.md#index-mode-setting). For example: `standard`, `lookup`, or `logsdb`. | |
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.
👍
Co-authored-by: Bogdan Pintea <[email protected]>
|
thx @bpintea! |
* [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 <[email protected]>
Fixes #129905
esql-metadata-fields.md_index_modeand_sourcefields to available metadata_scoresorting exampleAlso made some drive by updates to search functions ref page in 3c13c68
See URL previews