Uses of Class
org.apache.lucene.index.IndexReader.CacheKey
Package
Description
Code to maintain and access indices.
Internal bridges to package-private internals, for use by the lucene test framework only.
-
Uses of IndexReader.CacheKey in org.apache.lucene.index
Modifier and TypeFieldDescriptionfinal IndexReader.CacheKey
OrdinalMap.owner
Cache key of whoever asked for this awful thingModifier and TypeMethodDescriptionFilterDirectoryReader.DelegatingCacheHelper.getKey()
IndexReader.CacheHelper.getKey()
Get a key that the resource can be cached on.Modifier and TypeMethodDescriptionstatic OrdinalMap
OrdinalMap.build
(IndexReader.CacheKey owner, SortedDocValues[] values, float acceptableOverheadRatio) Create an ordinal map that uses the number of unique values of eachSortedDocValues
instance as a weight.static OrdinalMap
OrdinalMap.build
(IndexReader.CacheKey owner, SortedSetDocValues[] values, float acceptableOverheadRatio) Create an ordinal map that uses the number of unique values of eachSortedSetDocValues
instance as a weight.static OrdinalMap
OrdinalMap.build
(IndexReader.CacheKey owner, TermsEnum[] subs, long[] weights, float acceptableOverheadRatio) Creates an ordinal map that allows mapping ords to/from a merged space fromsubs
.void
IndexReader.ClosedListener.onClose
(IndexReader.CacheKey key) Invoked when the resource (segment core, or index reader) that is being cached on is closed. -
Uses of IndexReader.CacheKey in org.apache.lucene.internal.tests