Class IgnoredSourceFieldMapper

All Implemented Interfaces:
Iterable<Mapper>, ToXContent, ToXContentFragment

public class IgnoredSourceFieldMapper extends MetadataFieldMapper
Mapper for the _ignored_source field. A field mapper that records fields that have been ignored or otherwise need storing their source, along with their values. It's intended for use in indexes with synthetic source to reconstruct the latter, taking into account fields that got ignored or transformed during indexing. Entries get stored in lexicographical order by field name. This overlaps with IgnoredFieldMapper that tracks just the ignored field names. It's worth evaluating if we can replace it for all use cases to avoid duplication, assuming that the storage tradeoff is favorable.