Uses of Class
org.apache.lucene.index.IndexReaderContext
-
Packages that use IndexReaderContext Package Description org.apache.lucene.index org.apache.lucene.search org.apache.lucene.spatial.prefix -
-
Uses of IndexReaderContext in org.apache.lucene.index
Subclasses of IndexReaderContext in org.apache.lucene.index Modifier and Type Class Description classCompositeReaderContextIndexReaderContextforCompositeReaderinstance.classLeafReaderContextIndexReaderContextforLeafReaderinstances.Methods in org.apache.lucene.index that return IndexReaderContext Modifier and Type Method Description 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 List<IndexReaderContext>CompositeReaderContext. children()abstract List<IndexReaderContext>IndexReaderContext. children()Returns the context's children iff this context is a composite context otherwisenull.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) -
Uses of IndexReaderContext in org.apache.lucene.search
Fields in org.apache.lucene.search declared as IndexReaderContext Modifier and Type Field Description protected IndexReaderContextIndexSearcher. readerContextMethods in org.apache.lucene.search that return IndexReaderContext Modifier and Type Method Description IndexReaderContextIndexSearcher. getTopReaderContext()Returns this searchers the top-levelIndexReaderContext.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, Executor executor)Creates a searcher searching the provided top-levelIndexReaderContext. -
Uses of IndexReaderContext in org.apache.lucene.spatial.prefix
Methods in org.apache.lucene.spatial.prefix with parameters of type IndexReaderContext Modifier and Type Method Description static HeatmapFacetCounter.HeatmapHeatmapFacetCounter. calcFacets(PrefixTreeStrategy strategy, IndexReaderContext context, Bits topAcceptDocs, Shape inputShape, int facetLevel, int maxCells)Calculates spatial 2D facets (aggregated counts) in a grid, sometimes called a heatmap.HeatmapFacetCounter.HeatmapPrefixTreeStrategy. calcFacets(IndexReaderContext context, Bits topAcceptDocs, Shape inputShape, int facetLevel, int maxCells)Computes spatial facets in two dimensions as a grid of numbers.static voidPrefixTreeFacetCounter. compute(PrefixTreeStrategy strategy, IndexReaderContext context, Bits topAcceptDocs, Shape queryShape, int facetLevel, PrefixTreeFacetCounter.FacetVisitor facetVisitor)Computes facets using a callback/visitor style design, allowing flexibility for the caller to determine what to do with each underlying count.
-