Package org.apache.lucene.spatial.prefix
package org.apache.lucene.spatial.prefix
Prefix Tree Strategy.
-
ClassesClassDescriptionBase class for Lucene Queries on SpatialPrefixTree fields.Traverses a
SpatialPrefixTreeindexed field, using the template and visitor design patterns for subclasses to guide the traversal and collect matching documents.A visitor node/cell found via the query shape forAbstractVisitingPrefixTreeQuery.VisitorTemplate.A TokenStream used internally byPrefixTreeStrategy.Finds docs where its indexed shapeCONTAINSthe query shape.Computes spatial facets in two dimensions as a grid of numbers.Response structureA Query matching documents that have anSpatialRelation.INTERSECTS(i.e.A PrefixTree based on Number/Date ranges.Facet response informationHolds a block of detailLevel counts aggregated to their parent level.Implementation ofShapeFieldCacheProviderdesigned forPrefixTreeStrategys that index points (AND ONLY POINTS!).Computes facets on cells forPrefixTreeStrategy.A callback/visitor of facet counts.An abstract SpatialStrategy based onSpatialPrefixTree.APrefixTreeStrategywhich usesAbstractVisitingPrefixTreeQuery.A basic implementation ofPrefixTreeStrategyusing a largeTermInSetQueryof all the cells fromSpatialPrefixTree.getTreeCellIterator(org.locationtech.spatial4j.shape.Shape, int).Finds docs where its indexed shape isWITHINthe query shape.