## Uses of Class
org.apache.lucene.spatial.prefix.PrefixTreeStrategy

- Packages that use PrefixTreeStrategy
  Package | Description
  --- | ---
  org.apache.lucene.spatial.prefix | Prefix Tree Strategy.

- - ### Uses of PrefixTreeStrategy in org.apache.lucene.spatial.prefix

    Subclasses of PrefixTreeStrategy in org.apache.lucene.spatial.prefix
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NumberRangePrefixTreeStrategy` A PrefixTree based on Number/Date ranges.
    `class` | `RecursivePrefixTreeStrategy` A `PrefixTreeStrategy` which uses `AbstractVisitingPrefixTreeQuery`.
    `class` | `TermQueryPrefixTreeStrategy` A basic implementation of `PrefixTreeStrategy` using a large `TermInSetQuery` of all the cells from `SpatialPrefixTree.getTreeCellIterator(org.locationtech.spatial4j.shape.Shape, int)`.

    Methods in org.apache.lucene.spatial.prefix with parameters of type PrefixTreeStrategy
    Modifier and Type | Method and Description
    --- | ---
    `static 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.

Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.