Uses of Class
org.apache.lucene.index.IndexReaderContext
Packages that use IndexReaderContext
Package
Description
Code to maintain and access indices.
Experimental classes for interacting with payloads
Code to search indices.
-
Uses of IndexReaderContext in org.apache.lucene.index
Subclasses of IndexReaderContext in org.apache.lucene.indexModifier and TypeClassDescriptionfinal class
IndexReaderContext
forCompositeReader
instance.final class
IndexReaderContext
forLeafReader
instances.Fields in org.apache.lucene.index with type parameters of type IndexReaderContextModifier and TypeFieldDescriptionprivate final List
<IndexReaderContext> CompositeReaderContext.children
Methods in org.apache.lucene.index that return IndexReaderContextModifier and TypeMethodDescriptionprivate IndexReaderContext
CompositeReaderContext.Builder.build
(CompositeReaderContext parent, IndexReader reader, int ord, int docBase) abstract 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 TypeMethodDescriptionCompositeReaderContext.children()
abstract List
<IndexReaderContext> IndexReaderContext.children()
Returns the context's children iff this context is a composite context otherwisenull
.LeafReaderContext.children()
Methods in org.apache.lucene.index with parameters of type IndexReaderContextModifier and TypeMethodDescriptionstatic 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
.Constructors in org.apache.lucene.index with parameters of type IndexReaderContextModifierConstructorDescriptionTermStates
(IndexReaderContext context) Creates an emptyTermStates
from aIndexReaderContext
TermStates
(IndexReaderContext context, TermState state, int ord, int docFreq, long totalTermFreq) private
TermStates
(Term term, IndexReaderContext context) Constructor parameters in org.apache.lucene.index with type arguments of type IndexReaderContextModifierConstructorDescription(package private)
CompositeReaderContext
(CompositeReaderContext parent, CompositeReader reader, int ordInParent, int docbaseInParent, List<IndexReaderContext> children) Creates aCompositeReaderContext
for intermediate readers that aren't not top-level readers in the current contextprivate
CompositeReaderContext
(CompositeReaderContext parent, CompositeReader reader, int ordInParent, int docbaseInParent, List<IndexReaderContext> children, List<LeafReaderContext> leaves) (package private)
CompositeReaderContext
(CompositeReader reader, List<IndexReaderContext> children, List<LeafReaderContext> leaves) Creates aCompositeReaderContext
for top-level readers with parent set tonull
-
Uses of IndexReaderContext in org.apache.lucene.payloads
Fields in org.apache.lucene.payloads declared as IndexReaderContextConstructors in org.apache.lucene.payloads with parameters of type IndexReaderContext -
Uses of IndexReaderContext in org.apache.lucene.search
Fields in org.apache.lucene.search declared as IndexReaderContextModifier and TypeFieldDescriptionprotected final IndexReaderContext
IndexSearcher.readerContext
protected IndexReaderContext
TermCollectingRewrite.TermCollector.topReaderContext
Methods in org.apache.lucene.search that return IndexReaderContextModifier and TypeMethodDescriptionIndexSearcher.getTopReaderContext()
Returns this searchers the top-levelIndexReaderContext
.Methods in org.apache.lucene.search with parameters of type IndexReaderContextModifier and TypeMethodDescriptionprivate static TermStates
BlendedTermQuery.adjustFrequencies
(IndexReaderContext readerContext, TermStates ctx, int artificialDf, long artificialTtf) void
TermCollectingRewrite.TermCollector.setReaderContext
(IndexReaderContext topReaderContext, LeafReaderContext readerContext) Constructors in org.apache.lucene.search with parameters of type IndexReaderContextModifierConstructorDescriptionIndexSearcher
(IndexReaderContext context) Creates a searcher searching the provided top-levelIndexReaderContext
.IndexSearcher
(IndexReaderContext context, Executor executor) Creates a searcher searching the provided top-levelIndexReaderContext
.