Skip to content

Commit 8581933

Browse files
leemthompobpintea
andauthored
Apply suggestions from review
Co-authored-by: Bogdan Pintea <[email protected]>
1 parent 6b80a56 commit 8581933

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/reference/query-languages/esql/esql-metadata-fields.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,15 @@ The following metadata fields are available in {{esql}}:
2525
| [`_index`](/reference/elasticsearch/mapping-reference/mapping-index-field.md) | [keyword](/reference/elasticsearch/mapping-reference/keyword.md) | Index name. |
2626
| `_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`. |
2727
| `_score` | [`float`](/reference/elasticsearch/mapping-reference/number.md) | Query relevance score (when enabled). Scores are updated when using [full text search functions](/reference/query-languages/esql/functions-operators/search-functions.md). |
28-
| [`_source`](/reference/elasticsearch/mapping-reference/mapping-source-field.md) | Special `_source` type | Original JSON document body passed at index time (or a reconstructed version if [synthetic `_source`](/reference/elasticsearch/mapping-reference/mapping-source-field.md#synthetic-source) is enabled). This field is not supported by functions. |
28+
| [`_source`](/reference/elasticsearch/mapping-reference/mapping-source-field.md) | Special `_source` type | Original JSON document body passed at index time (or a reconstructed version if [synthetic `_source`](/reference/elasticsearch/mapping-reference/mapping-source-field.md#synthetic-source) is enabled). |
2929
| `_version` | [`long`](/reference/elasticsearch/mapping-reference/number.md) | Document version number |
3030

3131
## Usage and limitations
3232

3333
- Metadata fields are only available when the data source is an index
34-
- The `_source` field is not supported by functions
34+
- The `_source` type is not supported by functions
3535
- Only the `FROM` command supports the `METADATA` directive
3636
- Once enabled, metadata fields work like regular index fields
37-
- Fields are dropped after aggregations unless used for grouping ([example](#metadata-fields-and-aggregations))
3837

3938
## Examples
4039

0 commit comments

Comments
 (0)