Uses of Class
org.apache.lucene.spatial.prefix.PrefixTreeFacetCounter.FacetVisitor
-
Uses of PrefixTreeFacetCounter.FacetVisitor in org.apache.lucene.spatial.prefix
Modifier and TypeMethodDescriptionstatic 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.