Class AbstractIndexFieldData<FD extends AtomicFieldData>

    • Method Detail

      • load

        public FD load​(org.apache.lucene.index.LeafReaderContext context)
        Description copied from interface: IndexFieldData
        Loads the atomic field data for the reader, possibly cached.
        Specified by:
        load in interface IndexFieldData<FD extends AtomicFieldData>
      • empty

        protected abstract FD empty​(int maxDoc)
        Parameters:
        maxDoc - of the current reader
        Returns:
        an empty field data instances for field data lookups of empty segments (returning no values)