Ignore_above behavior

in the 2.3 documentation for ignore_above, it says Strings longer than the ignore_above setting will not be processed by the analyzer and will not be indexed.

in the 5.0+ documentation, it says Strings longer than the ignore_above setting will not be indexed or stored.

I understand that it should not be searchable, but does "OR STORED" mean that even if I retrieve the field via id, It will no longer contain the field with the large data??

Thanks!

The term "stored" applies to Lucene "stored" fields, see https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-store.html

The field value will be retrievable from the _source field, which is stored by default. This means that if you retrieve the document by id, you will get the field value, independent of the ignore_above setting.

1 Like

Thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.