Explorar o código

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
Dimitrios Liappis %!s(int64=7) %!d(string=hai) anos
pai
achega
abb4c183f1
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      docs/reference/mapping/params/ignore-above.asciidoc

+ 3 - 0
docs/reference/mapping/params/ignore-above.asciidoc

@@ -2,6 +2,9 @@
 === `ignore_above`
 
 Strings longer than the `ignore_above` setting will not be indexed or stored.
+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.
+
+NOTE: All strings/array elements will still be present in the `_source` field, if the latter is enabled which is the default in Elasticsearch.
 
 [source,js]
 --------------------------------------------------