Package org.apache.lucene.spatial.util
Advanced spatial utilities.
-
Class Summary Class Description CachingDoubleValueSource Caches the doubleVal of another value source in a HashMap so that it is computed only once.DistanceToShapeValueSource The distance from a provided Point to a Point retrieved from an ShapeValuesSource.ReciprocalDoubleValuesSource Transforms a DoubleValuesSource using the formula v = k / (v + k)ShapeAreaValueSource The area of a Shape retrieved from an ShapeValuesSourceShapeFieldCache<T extends org.locationtech.spatial4j.shape.Shape> Bounded Cache of Shapes associated with docIds.ShapeFieldCacheDistanceValueSource A DoubleValuesSource that returns the spatial distance between an input point and a document's points inShapeFieldCacheProvider.ShapeFieldCacheProvider<T extends org.locationtech.spatial4j.shape.Shape> Provides access to aShapeFieldCachefor a givenLeafReader.ShapeValuesPredicate Compares a shape from a providedShapeValuesSourcewith a given Shape and sees if it matches a givenSpatialOperation(the predicate).