Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.spatial.prefix |
Prefix Tree Strategy.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeReaderContext
IndexReaderContext for CompositeReader instance. |
class |
LeafReaderContext
IndexReaderContext for LeafReader instances. |
Modifier and Type | Field and Description |
---|---|
IndexReaderContext |
TermContext.topReaderContext
Holds the
IndexReaderContext of the top-level
IndexReader , used internally only for
asserting. |
Modifier and Type | Method and Description |
---|---|
abstract IndexReaderContext |
IndexReader.getContext()
Expert: Returns the root
IndexReaderContext for this
IndexReader '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 Type | Method and Description |
---|---|
List<IndexReaderContext> |
LeafReaderContext.children() |
abstract List<IndexReaderContext> |
IndexReaderContext.children()
Returns the context's children iff this context is a composite context
otherwise
null . |
List<IndexReaderContext> |
CompositeReaderContext.children() |
Modifier and Type | Method and Description |
---|---|
static 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.
|
Constructor and Description |
---|
TermContext(IndexReaderContext context)
Creates an empty
TermContext from a IndexReaderContext |
TermContext(IndexReaderContext context,
TermState state,
int ord,
int docFreq,
long totalTermFreq)
|
Modifier and Type | Field and Description |
---|---|
protected IndexReaderContext |
IndexSearcher.readerContext |
Modifier and Type | Method and Description |
---|---|
IndexReaderContext |
IndexSearcher.getTopReaderContext()
Returns this searchers the top-level
IndexReaderContext . |
Constructor and Description |
---|
AssertingIndexSearcher(Random random,
IndexReaderContext context) |
AssertingIndexSearcher(Random random,
IndexReaderContext context,
ExecutorService ex) |
IndexSearcher(IndexReaderContext context)
Creates a searcher searching the provided top-level
IndexReaderContext . |
IndexSearcher(IndexReaderContext context,
ExecutorService executor)
Creates a searcher searching the provided top-level
IndexReaderContext . |
Constructor and Description |
---|
PayloadSpanUtil(IndexReaderContext context) |
Modifier and Type | Method and Description |
---|---|
HeatmapFacetCounter.Heatmap |
PrefixTreeStrategy.calcFacets(IndexReaderContext context,
Filter filter,
com.spatial4j.core.shape.Shape inputShape,
int facetLevel,
int maxCells)
Computes spatial facets in two dimensions as a grid of numbers.
|
static HeatmapFacetCounter.Heatmap |
HeatmapFacetCounter.calcFacets(PrefixTreeStrategy strategy,
IndexReaderContext context,
Filter filter,
com.spatial4j.core.shape.Shape inputShape,
int facetLevel,
int maxCells)
Calculates spatial 2D facets (aggregated counts) in a grid, sometimes called a heatmap.
|
static void |
PrefixTreeFacetCounter.compute(PrefixTreeStrategy strategy,
IndexReaderContext context,
Filter filter,
com.spatial4j.core.shape.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.
|
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.