ESQL: Load from _source if a field was ignore_above
-ed
#124678
Labels
:Analytics/ES|QL
AKA ESQL
>enhancement
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
Description
Elasticsearch's
ignore_above
feature skips indexing akeyword
field if it is longer than some number of characters. That's useful to preserve lucene's mind, but we lose the ability to search that field. It'd be good if we could load the field form _source in that case.Example:
Makes:
But after this change it'd make:
These ignored fields are indexed and have a special doc value:
This is generally cheap to maintain because there aren't that many unique field values and it powers the
missing
query. We could use the doc values to load these fields from _source. Pushed down queries are much harder - they'd need to double check the condition. I think. Something like that.The text was updated successfully, but these errors were encountered: