Skip to content

Commit 9163c9b

Browse files
authored
Clarify the defaults for ignore_above. (#28372)
Closes #27992
1 parent f7c4740 commit 9163c9b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/reference/mapping/types/keyword.asciidoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ The following parameters are accepted by `keyword` fields:
6262

6363
<<ignore-above,`ignore_above`>>::
6464

65-
Do not index any string longer than this value. Defaults to
66-
`2147483647` so that all values would be accepted.
65+
Do not index any string longer than this value. Defaults to `2147483647`
66+
so that all values would be accepted. Please however note that default
67+
dynamic mapping rules create a sub `keyword` field that overrides this
68+
default by setting `ignore_above: 256`.
6769

6870
<<mapping-index,`index`>>::
6971

0 commit comments

Comments
 (0)