Default number of fields allowed in Elasticsearch

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?

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

2 Likes

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