How to change Index.mapping.depth.limit

How would you set the index.mapping.depth.limit field? I have been getting this error:

"status" : 400,
"error" : {
"type" : "illegal_argument_exception",
"reason" : "Limit of mapping depth [20] in index [durations2] has been exceeded due to object field [metadata.pkg-value-esk. ( cd .............]"

What kind of data do you have that causes you to run into this? How do you query something with that level of nesting? What is the use case?

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