Uses of Class
org.apache.lucene.index.IndexReaderContext
-
Packages that use IndexReaderContext Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.payloads Experimental classes for interacting with payloadsorg.apache.lucene.search Code to search indices. -
-
Uses of IndexReaderContext in org.apache.lucene.index
Subclasses of IndexReaderContext in org.apache.lucene.index Modifier and Type Class Description classCompositeReaderContextIndexReaderContextforCompositeReaderinstance.classLeafReaderContextIndexReaderContextforLeafReaderinstances.Fields in org.apache.lucene.index with type parameters of type IndexReaderContext Modifier and Type Field Description private java.util.List<IndexReaderContext>CompositeReaderContext. childrenMethods in org.apache.lucene.index that return IndexReaderContext Modifier and Type Method Description private IndexReaderContextCompositeReaderContext.Builder. build(CompositeReaderContext parent, IndexReader reader, int ord, int docBase)abstract IndexReaderContextIndexReader. getContext()Expert: Returns the rootIndexReaderContextfor thisIndexReader's sub-reader tree.static IndexReaderContextReaderUtil. 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 IndexReaderContext Modifier and Type Method Description java.util.List<IndexReaderContext>CompositeReaderContext. children()abstract java.util.List<IndexReaderContext>IndexReaderContext. children()Returns the context's children iff this context is a composite context otherwisenull.java.util.List<IndexReaderContext>LeafReaderContext. children()Methods in org.apache.lucene.index with parameters of type IndexReaderContext Modifier and Type Method Description static TermStatesTermStates. build(IndexReaderContext context, Term term, boolean needsStats)static IndexReaderContextReaderUtil. 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.booleanTermStates. wasBuiltFor(IndexReaderContext context)Expert: Return whether thisTermStateswas built for the givenIndexReaderContext.Constructors in org.apache.lucene.index with parameters of type IndexReaderContext Constructor Description TermStates(IndexReaderContext context)Creates an emptyTermStatesfrom aIndexReaderContextTermStates(IndexReaderContext context, TermState state, int ord, int docFreq, long totalTermFreq)TermStates(Term term, IndexReaderContext context)Constructor parameters in org.apache.lucene.index with type arguments of type IndexReaderContext Constructor Description CompositeReaderContext(CompositeReaderContext parent, CompositeReader reader, int ordInParent, int docbaseInParent, java.util.List<IndexReaderContext> children)Creates aCompositeReaderContextfor intermediate readers that aren't not top-level readers in the current contextCompositeReaderContext(CompositeReaderContext parent, CompositeReader reader, int ordInParent, int docbaseInParent, java.util.List<IndexReaderContext> children, java.util.List<LeafReaderContext> leaves)CompositeReaderContext(CompositeReader reader, java.util.List<IndexReaderContext> children, java.util.List<LeafReaderContext> leaves)Creates aCompositeReaderContextfor top-level readers with parent set tonull -
Uses of IndexReaderContext in org.apache.lucene.payloads
Fields in org.apache.lucene.payloads declared as IndexReaderContext Modifier and Type Field Description private IndexReaderContextPayloadSpanUtil. contextConstructors in org.apache.lucene.payloads with parameters of type IndexReaderContext Constructor Description PayloadSpanUtil(IndexReaderContext context) -
Uses of IndexReaderContext in org.apache.lucene.search
Fields in org.apache.lucene.search declared as IndexReaderContext Modifier and Type Field Description protected IndexReaderContextIndexSearcher. readerContextprotected IndexReaderContextTermCollectingRewrite.TermCollector. topReaderContextMethods in org.apache.lucene.search that return IndexReaderContext Modifier and Type Method Description IndexReaderContextIndexSearcher. getTopReaderContext()Returns this searchers the top-levelIndexReaderContext.Methods in org.apache.lucene.search with parameters of type IndexReaderContext Modifier and Type Method Description private static TermStatesBlendedTermQuery. adjustFrequencies(IndexReaderContext readerContext, TermStates ctx, int artificialDf, long artificialTtf)voidTermCollectingRewrite.TermCollector. setReaderContext(IndexReaderContext topReaderContext, LeafReaderContext readerContext)Constructors in org.apache.lucene.search with parameters of type IndexReaderContext Constructor Description IndexSearcher(IndexReaderContext context)Creates a searcher searching the provided top-levelIndexReaderContext.IndexSearcher(IndexReaderContext context, java.util.concurrent.Executor executor)Creates a searcher searching the provided top-levelIndexReaderContext.
-