Open astefan opened 8 months ago
Issues like https://github.com/elastic/elasticsearch/issues/101489 or https://github.com/elastic/elasticsearch/issues/100869 are difficult to pinpoint due to highly complex and large mappings likely involved in the problematic query.
We could and should improve trace/debug logging that can expose the mappings involved in such queries. The IndexResolver and its field_caps call response management is the right place for such insights.
IndexResolver
Pinging @elastic/es-analytics-geo (Team:Analytics)
Description
Issues like https://github.com/elastic/elasticsearch/issues/101489 or https://github.com/elastic/elasticsearch/issues/100869 are difficult to pinpoint due to highly complex and large mappings likely involved in the problematic query.
We could and should improve trace/debug logging that can expose the mappings involved in such queries. The
IndexResolver
and its field_caps call response management is the right place for such insights.