Skip to content

Commit 91ee944

Browse files
committed
Clarify ignore_above behavior with arrays of strings
and also note that all string(s) will still be visible in the `_source` field.
1 parent 82d10b4 commit 91ee944

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
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 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)