Uses of Class
org.apache.lucene.spatial.prefix.PrefixTreeStrategy
Packages that use PrefixTreeStrategy
-
Uses of PrefixTreeStrategy in org.apache.lucene.spatial.prefix
Subclasses of PrefixTreeStrategy in org.apache.lucene.spatial.prefixModifier and TypeClassDescriptionclass
A PrefixTree based on Number/Date ranges.class
APrefixTreeStrategy
which usesAbstractVisitingPrefixTreeQuery
.class
A basic implementation ofPrefixTreeStrategy
using a largeTermInSetQuery
of all the cells fromSpatialPrefixTree.getTreeCellIterator(org.locationtech.spatial4j.shape.Shape, int)
.Methods in org.apache.lucene.spatial.prefix with parameters of type PrefixTreeStrategyModifier and TypeMethodDescriptionstatic HeatmapFacetCounter.Heatmap
HeatmapFacetCounter.calcFacets
(PrefixTreeStrategy strategy, IndexReaderContext context, Bits topAcceptDocs, org.locationtech.spatial4j.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, Bits topAcceptDocs, org.locationtech.spatial4j.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.static void
PrefixTreeFacetCounter.compute
(PrefixTreeStrategy strategy, LeafReaderContext context, Bits acceptDocs, org.locationtech.spatial4j.shape.Shape queryShape, int facetLevel, PrefixTreeFacetCounter.FacetVisitor facetVisitor) Lower-level per-leaf segment method.