Class KeyedFlattenedLeafFieldData

java.lang.Object
org.elasticsearch.index.mapper.flattened.KeyedFlattenedLeafFieldData
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.lucene.util.Accountable, org.elasticsearch.core.Releasable, LeafFieldData, LeafOrdinalsFieldData

public class KeyedFlattenedLeafFieldData extends Object implements LeafOrdinalsFieldData
The atomic field data implementation for FlattenedFieldMapper.KeyedFlattenedFieldType. This class wraps the field data that is built directly on the keyed flattened field, and filters out values whose prefix doesn't match the requested key. In order to support all usage patterns, the delegate's ordinal values are shifted to range from 0 to the number of total values.