Uses of Interface org.apache.lucene.index.IndexReader.CacheHelper (Lucene 10.5.1 core API)
Description: use: package: org.apache.lucene.index, class: IndexReader, interface: CacheHelper

# Uses of Interface
org.apache.lucene.index.IndexReader.CacheHelper

Packages that use IndexReader.CacheHelper
Package
Description
org.apache.lucene.index
Code to maintain and access indices.
org.apache.lucene.search
Code to search indices.

- ## Uses of IndexReader.CacheHelper in org.apache.lucene.index

  Classes in org.apache.lucene.index that implement IndexReader.CacheHelper
  Modifier and Type
  Class
  Description
  `protected static class`
  `FilterDirectoryReader.DelegatingCacheHelper`
  A DelegatingCacheHelper is a CacheHelper specialization for implementing long-lived caching behaviour for FilterDirectoryReader subclasses.
  Methods in org.apache.lucene.index that return IndexReader.CacheHelper
  Modifier and Type
  Method
  Description
  `IndexReader.CacheHelper`
  ExitableDirectoryReader.ExitableFilterAtomicReader.`getCoreCacheHelper()`
  `abstract IndexReader.CacheHelper`
  LeafReader.`getCoreCacheHelper()`
  Optional method: Return a `IndexReader.CacheHelper` that can be used to cache based on the content of this leaf regardless of deletions.
  `IndexReader.CacheHelper`
  ParallelLeafReader.`getCoreCacheHelper()`
  `IndexReader.CacheHelper`
  SegmentReader.`getCoreCacheHelper()`
  `IndexReader.CacheHelper`
  SortingCodecReader.`getCoreCacheHelper()`
  `IndexReader.CacheHelper`
  ExitableDirectoryReader.ExitableFilterAtomicReader.`getReaderCacheHelper()`
  `IndexReader.CacheHelper`
  ExitableDirectoryReader.`getReaderCacheHelper()`
  `abstract IndexReader.CacheHelper`
  IndexReader.`getReaderCacheHelper()`
  Optional method: Return a `IndexReader.CacheHelper` that can be used to cache based on the content of this reader.
  `IndexReader.CacheHelper`
  MultiReader.`getReaderCacheHelper()`
  `IndexReader.CacheHelper`
  ParallelCompositeReader.`getReaderCacheHelper()`
  `IndexReader.CacheHelper`
  ParallelLeafReader.`getReaderCacheHelper()`
  `IndexReader.CacheHelper`
  SegmentReader.`getReaderCacheHelper()`
  `IndexReader.CacheHelper`
  SoftDeletesDirectoryReaderWrapper.`getReaderCacheHelper()`
  `IndexReader.CacheHelper`
  SortingCodecReader.`getReaderCacheHelper()`
  `IndexReader.CacheHelper`
  StandardDirectoryReader.`getReaderCacheHelper()`
  Constructors in org.apache.lucene.index with parameters of type IndexReader.CacheHelper
  Modifier
  Constructor
  Description
  `protected`
  `DelegatingCacheHelper(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.CacheHelper
  Modifier and Type
  Method
  Description
  `protected LRUQueryCache.CacheAndCount`
  LRUQueryCache.`get(Query key, IndexReader.CacheHelper cacheHelper)`
  `protected LRUQueryCache.CacheAndCount`
  LRUQueryCache.`tryPopulateCache(IndexReader.CacheHelper cacheKey, Weight weight, ScorerSupplier scorerSupplier, LeafReaderContext context)`
  Populates the cache for the given scorer and leaf reader context.