Uses of Interface
org.apache.lucene.index.IndexReader.CacheHelper
Packages that use IndexReader.CacheHelper
Package
Description
Code to maintain and access indices.
Code to search indices.
-
Uses of IndexReader.CacheHelper in org.apache.lucene.index
Classes in org.apache.lucene.index that implement IndexReader.CacheHelperModifier and TypeClassDescriptionprotected static classA DelegatingCacheHelper is a CacheHelper specialization for implementing long-lived caching behaviour for FilterDirectoryReader subclasses.Methods in org.apache.lucene.index that return IndexReader.CacheHelperModifier and TypeMethodDescriptionExitableDirectoryReader.ExitableFilterAtomicReader.getCoreCacheHelper()abstract IndexReader.CacheHelperLeafReader.getCoreCacheHelper()Optional method: Return aIndexReader.CacheHelperthat can be used to cache based on the content of this leaf regardless of deletions.ParallelLeafReader.getCoreCacheHelper()SegmentReader.getCoreCacheHelper()SortingCodecReader.getCoreCacheHelper()ExitableDirectoryReader.ExitableFilterAtomicReader.getReaderCacheHelper()ExitableDirectoryReader.getReaderCacheHelper()abstract IndexReader.CacheHelperIndexReader.getReaderCacheHelper()Optional method: Return aIndexReader.CacheHelperthat can be used to cache based on the content of this reader.MultiReader.getReaderCacheHelper()ParallelCompositeReader.getReaderCacheHelper()ParallelLeafReader.getReaderCacheHelper()SegmentReader.getReaderCacheHelper()SoftDeletesDirectoryReaderWrapper.getReaderCacheHelper()SortingCodecReader.getReaderCacheHelper()StandardDirectoryReader.getReaderCacheHelper()Constructors in org.apache.lucene.index with parameters of type IndexReader.CacheHelperModifierConstructorDescriptionprotectedDelegatingCacheHelper(IndexReader.CacheHelper delegate) Create a new DelegatingCacheHelper that delegates the cache onClose listener to another CacheHelper, but with its own unique CacheKey. -
Uses of IndexReader.CacheHelper in org.apache.lucene.search
Methods in org.apache.lucene.search with parameters of type IndexReader.CacheHelperModifier and TypeMethodDescriptionprotected LRUQueryCache.CacheAndCountLRUQueryCache.get(Query key, IndexReader.CacheHelper cacheHelper) protected LRUQueryCache.CacheAndCountLRUQueryCache.tryPopulateCache(IndexReader.CacheHelper cacheKey, Weight weight, ScorerSupplier scorerSupplier, LeafReaderContext context) Populates the cache for the given scorer and leaf reader context.