Uses of Class
org.apache.lucene.index.IndexReaderContext
Package
Description
Code to maintain and access indices.
Code to search indices.
-
Uses of IndexReaderContext in org.apache.lucene.index
Modifier and TypeClassDescriptionfinal class
IndexReaderContext
forCompositeReader
instance.final class
IndexReaderContext
forLeafReader
instances.Modifier and TypeMethodDescriptionabstract IndexReaderContext
IndexReader.getContext()
Expert: Returns the rootIndexReaderContext
for thisIndexReader
's sub-reader tree.static IndexReaderContext
ReaderUtil.getTopLevelContext
(IndexReaderContext context) Walks up the reader tree and return the given context's top level reader context, or in other words the reader tree's root context.Modifier and TypeMethodDescriptionCompositeReaderContext.children()
abstract List<IndexReaderContext>
IndexReaderContext.children()
Returns the context's children iff this context is a composite context otherwisenull
.LeafReaderContext.children()
Modifier and TypeMethodDescriptionstatic TermStates
TermStates.build
(IndexReaderContext context, Term term, boolean needsStats) static IndexReaderContext
ReaderUtil.getTopLevelContext
(IndexReaderContext context) Walks up the reader tree and return the given context's top level reader context, or in other words the reader tree's root context.boolean
TermStates.wasBuiltFor
(IndexReaderContext context) Expert: Return whether thisTermStates
was built for the givenIndexReaderContext
.ModifierConstructorDescriptionTermStates
(IndexReaderContext context) Creates an emptyTermStates
from aIndexReaderContext
TermStates
(IndexReaderContext context, TermState state, int ord, int docFreq, long totalTermFreq) -
Uses of IndexReaderContext in org.apache.lucene.search
Modifier and TypeMethodDescriptionIndexSearcher.getTopReaderContext()
Returns this searchers the top-levelIndexReaderContext
.ModifierConstructorDescriptionIndexSearcher
(IndexReaderContext context) Creates a searcher searching the provided top-levelIndexReaderContext
.IndexSearcher
(IndexReaderContext context, Executor executor) Creates a searcher searching the provided top-levelIndexReaderContext
.