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 TypeClassDescriptionclassA PrefixTree based on Number/Date ranges.classAPrefixTreeStrategywhich usesAbstractVisitingPrefixTreeQuery.classA basic implementation ofPrefixTreeStrategyusing a largeTermInSetQueryof 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.HeatmapHeatmapFacetCounter.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 voidPrefixTreeFacetCounter.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 voidPrefixTreeFacetCounter.compute(PrefixTreeStrategy strategy, LeafReaderContext context, Bits acceptDocs, org.locationtech.spatial4j.shape.Shape queryShape, int facetLevel, PrefixTreeFacetCounter.FacetVisitor facetVisitor) Lower-level per-leaf segment method.