Java org.apache.lucene.spatial SpatialStrategy fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.spatial SpatialStrategy fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.spatial SpatialStrategy.

The text is from its open source code.

Subclass

org.apache.lucene.spatial.SpatialStrategy has subclasses.
Click this link to see all its subclasses.

Method

Field[]createIndexableFields(Shape shape)
Returns the IndexableField(s) from the shape that are to be added to the org.apache.lucene.document.Document .
SpatialContextgetSpatialContext()
DoubleValuesSourcemakeDistanceValueSource(Point queryPoint, double multiplier)
Make a ValueSource returning the distance between the center of the indexed shape and queryPoint .
QuerymakeQuery(SpatialArgs args)
Make a Query based principally on org.apache.lucene.spatial.query.SpatialOperation and Shape from the supplied args .
DoubleValuesSourcemakeRecipDistanceValueSource(Shape queryShape)
Returns a ValueSource with values ranging from 1 to 0, depending inversely on the distance from #makeDistanceValueSource(org.locationtech.spatial4j.shape.Point,double) .