Try our conversational search powered by Generative AI!

Fields with lost of text will be ignored when searching (ignore_above)


My customer reported missing searchhits for spesific words in some given pages on their site. What these pages had in common were their big text size. MainBody had approximately 20kB of text (utf-8). 

I spoke with Episerver support and they think this happens because the limit set for the field mappings (ignore_above) in Elastic, with is the backbone of S & N, is set to 10kB per field in the index. (ignore_above is set til 8kB for demo ( indexes). The ignore_above mapping setting tells elastic not to give any hits if the text size is more then the value set. And since the value is 10kB, no hit is returned for this field.

It seams to be correct because when i reduce the size of the text I do get hits for this page. But(!) in another solution also runing EpiServer.Find 13.0.5 this is not an issue, eventhough the ignore_above value is the same for both solutions. So I am not sure this is the issue afterall. Has anybody else experienced this?

How to check the mapping values: https://[findhostname]/[privatekey]/[indexname]/*/_mapping

More on ignore_above from elastic: 

Edited, Sep 10, 2020 6:36

Hi Jørgen

I know the ignore_above was higher in earlier versions but it's interesting that you say it's the same for both solutions.

Edited, Sep 15, 2020 7:33

The differense between the two solutions mentioned, is that they live on difference epi S & N hosts: (ok to search in fields with lots of text) and (no hits when field exeed the ignore_above limit)

Sep 15, 2020 7:41

My best guess is that the index with higher ignore_above value was provisioned before the change and the one with lower ignore_above value was setup after the change. The change is a part of templates used for when creating a new index.

It looks like it was changed in late 2019. Perhaps early 2020.

Edited, Sep 15, 2020 10:55

Documentation is updated:

Sep 25, 2020 9:37
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.