Default number of fields allowed in Elasticsearch


(Nikesh) #1

Hi,
I am indexing a document with over 1000 fields. But at first, I am creating mapping file for this. Due to this, my mapping file returns an exception. I have handled this issue by increasing the limit of fields to 2,500. Is there a reason behind setting this default limit to 1000? is there any harm in setting this limit to very high value?


(Mark Walkom) #2

Have a read of https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html#mapping-limit-settings


(system) #3

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