Skip to content

Commit 67218f6

Browse files
authored
Update keyword ignore_above documentation for logsdb (elastic#126651) (elastic#126663)
This commit adds a note that ignore_above has a different limit for logsdb indices to the documentation. Related to elastic/docs-content#1092 and elastic/sdh-elasticsearch#8892
1 parent 65c3809 commit 67218f6

File tree

1 file changed

+2
-2
lines changed
  • docs/reference/elasticsearch/mapping-reference

1 file changed

+2
-2
lines changed

docs/reference/elasticsearch/mapping-reference/keyword.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The following parameters are accepted by `keyword` fields:
7070
: Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one field for search and a multi-field for sorting and aggregations.
7171

7272
[`ignore_above`](/reference/elasticsearch/mapping-reference/ignore-above.md)
73-
: Do not index any string longer than this value. Defaults to `2147483647` so that all values would be accepted. Please however note that default dynamic mapping rules create a sub `keyword` field that overrides this default by setting `ignore_above: 256`.
73+
: Do not index any string longer than this value. Defaults to `2147483647` in standard indices so that all values would be accepted, and `8191` in logsdb indices to protect against Lucene's term byte-length limit of `32766`. Please however note that default dynamic mapping rules create a sub `keyword` field that overrides this default by setting `ignore_above: 256`.
7474

7575
[`index`](/reference/elasticsearch/mapping-reference/mapping-index.md)
7676
: Should the field be quickly searchable? Accepts `true` (default) and `false`. `keyword` fields that only have [`doc_values`](/reference/elasticsearch/mapping-reference/doc-values.md) enabled can still be queried, albeit slower.
@@ -376,7 +376,7 @@ The following parameters are accepted by `wildcard` fields:
376376
: Accepts a string value which is substituted for any explicit `null` values. Defaults to `null`, which means the field is treated as missing.
377377

378378
[`ignore_above`](/reference/elasticsearch/mapping-reference/ignore-above.md)
379-
: Do not index any string longer than this value. Defaults to `2147483647` so that all values would be accepted.
379+
: Do not index any string longer than this value. Defaults to `2147483647` in standard indices so that all values would be accepted, and `8191` in logsdb indices to protect against Lucene's term byte-length limit of `32766`.
380380

381381

382382
### Limitations [_limitations]

0 commit comments

Comments
 (0)