Interface LeafFieldLookupProvider


public interface LeafFieldLookupProvider
Defines how to populate the values of a FieldLookup
  • Method Summary

    Modifier and Type
    Method
    Description
    static Function<org.apache.lucene.index.LeafReaderContext,LeafFieldLookupProvider>
    Create a LeafFieldLookupProvider that loads values from stored fields
    void
    populateFieldLookup(FieldLookup fieldLookup, int doc)
    Load stored field values for the given doc and cache them in the FieldLookup
  • Method Details

    • populateFieldLookup

      void populateFieldLookup(FieldLookup fieldLookup, int doc) throws IOException
      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