Elastic Index Scope Parameter

I am getting low quality search results because our Json documents have lots of nested fields which many repetitions of words that makes irrelevant Json documents get higher relevance scores than they should.

Is it possible to configure an index's map so that Elastic will only index the Json fields that are at the root level?

I know we can set the parameter in the map: "index" : "false", but I don't want to have to explicitly state this for every field not in the root. Is that possible?


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