Skip to content

Use an unique stored field name for each ignored source entry #130919

@martijnvg

Description

@martijnvg

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions