Is there a way to configure elasticsearch before creating any index, that when an index will be created, it will be created with other number than 1000 in its fields mapping limit?
Or do I have to set the mapping for each index i'm creating?
You can set it in an index template.
Hi, thanks for the answer.
Index template limits the index structure that the template will be applied to, isn't it?
I thought maybe there is a configuration line to be added to the elasticsearch.yml that can sort it out. Is there?
Index templates can specify index settings, e.g. shard count, compression mode and field limits, as well as mappings. Exactly what you specify is up to you.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.