Uses of Class
org.apache.lucene.index.IndexReaderContext
Packages that use IndexReaderContext
Package
Description
Code to maintain and access indices.
Code to search indices.
The payloads package provides Query mechanisms for finding and using payloads.
-
Uses of IndexReaderContext in org.apache.lucene.index
Subclasses of IndexReaderContext in org.apache.lucene.indexModifier and TypeClassDescriptionfinal class
IndexReaderContext
forAtomicReader
instances.final class
IndexReaderContext
forCompositeReader
instance.Fields in org.apache.lucene.index declared as IndexReaderContextModifier and TypeFieldDescriptionfinal IndexReaderContext
TermContext.topReaderContext
Holds theIndexReaderContext
of the top-levelIndexReader
, used internally only for asserting.Methods in org.apache.lucene.index that return IndexReaderContextModifier 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.Methods in org.apache.lucene.index that return types with arguments of type IndexReaderContextModifier and TypeMethodDescriptionAtomicReaderContext.children()
CompositeReaderContext.children()
abstract List<IndexReaderContext>
IndexReaderContext.children()
Returns the context's children iff this context is a composite context otherwisenull
.Methods in org.apache.lucene.index with parameters of type IndexReaderContextModifier and TypeMethodDescriptionstatic TermContext
TermContext.build
(IndexReaderContext context, Term term) 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.Constructors in org.apache.lucene.index with parameters of type IndexReaderContextModifierConstructorDescriptionTermContext
(IndexReaderContext context) Creates an emptyTermContext
from aIndexReaderContext
TermContext
(IndexReaderContext context, TermState state, int ord, int docFreq, long totalTermFreq) -
Uses of IndexReaderContext in org.apache.lucene.search
Fields in org.apache.lucene.search declared as IndexReaderContextMethods in org.apache.lucene.search that return IndexReaderContextModifier and TypeMethodDescriptionIndexSearcher.getTopReaderContext()
Returns this searchers the top-levelIndexReaderContext
.Constructors in org.apache.lucene.search with parameters of type IndexReaderContextModifierConstructorDescriptionIndexSearcher
(IndexReaderContext context) Creates a searcher searching the provided top-levelIndexReaderContext
.IndexSearcher
(IndexReaderContext context, ExecutorService executor) Creates a searcher searching the provided top-levelIndexReaderContext
. -
Uses of IndexReaderContext in org.apache.lucene.search.payloads
Constructors in org.apache.lucene.search.payloads with parameters of type IndexReaderContext