Module org.elasticsearch.server
Package org.elasticsearch.search.lookup
Interface LeafFieldLookupProvider
public interface LeafFieldLookupProvider
Defines how to populate the values of a
FieldLookup
-
Method Summary
Modifier and TypeMethodDescriptionstatic Function<org.apache.lucene.index.LeafReaderContext,
LeafFieldLookupProvider> Create a LeafFieldLookupProvider that loads values from stored fieldsvoid
populateFieldLookup
(FieldLookup fieldLookup, int doc) Load stored field values for the given doc and cache them in the FieldLookup
-
Method Details
-
populateFieldLookup
Load stored field values for the given doc and cache them in the FieldLookup- Throws:
IOException
-
fromStoredFields
static Function<org.apache.lucene.index.LeafReaderContext,LeafFieldLookupProvider> fromStoredFields()Create a LeafFieldLookupProvider that loads values from stored fields
-