-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Description
Today when loading ignored source for a specific unmapped fields, then all ignored source entries are processed/parsed. This has a significant impact on read performance of ignored source. One reason that this works this way is that al entries are stored using the same stored field name (_ignored_source
).
If each ignored source entry has stored field entry with its own name (e.g using _ignored_source_*
as prefix) then we can better control which entries need to be processed / parsed. For example if only one ignored source entry is requested, then we don't to process/parse all entries to figure this out.
Before this wasn't much of an issue given that most fields would be mapped and therefor not end up in ignored source and typically when synthesizing source all ignored entries need to be processed/parsed.
This related to #130886 and may depend on this.