When adding my template I get an error indicating the default limit:
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Limit of total fields [1000] in index [m9CIuWEdQvOmFmjGFReIUg] has been exceeded"
}
],
"type": "illegal_argument_exception",
"reason": "Limit of total fields [1000] in index [m9CIuWEdQvOmFmjGFReIUg] has been exceeded"
},
"status": 400
}
It looks like this wasn't really the issue I thought it was. The test I added in that pull request works without issue even without the change I made. I wonder if there is maybe a issue with the format of your template?
Can you try issuing the command again with ?error_trace=true appended to the URL?
Thank you for looking into this Jay. This working for me now, I can specify both the: "index.mapping.total_fields.limit" and "index.mapping.nested_fields.limit". The error message reflects the correct configuration number when the limit is reached.
There was some sequence of events earlier that cased it not to take, can't figure it out.. or perhaps just plain user error.
EDIT: Complete user error. Sorry to waste your time.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.