Interface IndexFieldDataCache

All Known Implementing Classes:
IndexFieldDataCache.None

public interface IndexFieldDataCache
A simple field data cache abstraction on the *index* level.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clears all the field data stored cached in on this index.
    void
    clear(String fieldName)
    Clears all the field data stored cached in on this index for the specified field name.
    <FD extends LeafFieldData, IFD extends IndexFieldData.Global<FD>>
    IFD
    load(org.apache.lucene.index.DirectoryReader indexReader, IFD indexFieldData)
     
    <FD extends LeafFieldData, IFD extends IndexFieldData<FD>>
    FD
    load(org.apache.lucene.index.LeafReaderContext context, IFD indexFieldData)
     
  • Method Details

    • load

      <FD extends LeafFieldData, IFD extends IndexFieldData<FD>> FD load(org.apache.lucene.index.LeafReaderContext context, IFD indexFieldData) throws Exception
      Throws:
      Exception
    • load

      <FD extends LeafFieldData, IFD extends IndexFieldData.Global<FD>> IFD load(org.apache.lucene.index.DirectoryReader indexReader, IFD indexFieldData) throws Exception
      Throws:
      Exception
    • clear

      void clear()
      Clears all the field data stored cached in on this index.
    • clear

      void clear(String fieldName)
      Clears all the field data stored cached in on this index for the specified field name.