Skip to content

Commit abb4c18

Browse files
authored
Clarify ignore_above behavior with arrays of strings
Currently docs don't explain how `ignore_above` behaves with arrays of strings. Clarify how `ignore_above` applies for arrays of strings and also note that all string(s) will still be visible in the `_source` field. Relates #33057
1 parent 528e727 commit abb4c18

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/reference/mapping/params/ignore-above.asciidoc

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
=== `ignore_above`
33

44
Strings longer than the `ignore_above` setting will not be indexed or stored.
5+
For arrays of strings, `ignore_above` will be applied for each array element separately and string elements longer than `ignore_above` will not be indexed or stored.
6+
7+
NOTE: All strings/array elements will still be present in the `_source` field, if the latter is enabled which is the default in Elasticsearch.
58

69
[source,js]
710
--------------------------------------------------

0 commit comments

Comments
 (0)