Package org.apache.solr.schema
Class LatLonPointSpatialField.LatLonPointSpatialStrategy
java.lang.Object
org.apache.lucene.spatial.SpatialStrategy
org.apache.solr.schema.LatLonPointSpatialField.LatLonPointSpatialStrategy
- Enclosing class:
LatLonPointSpatialField
public static class LatLonPointSpatialField.LatLonPointSpatialStrategy
extends org.apache.lucene.spatial.SpatialStrategy
-
Field Summary
Fields inherited from class org.apache.lucene.spatial.SpatialStrategy
ctx -
Constructor Summary
ConstructorsConstructorDescriptionLatLonPointSpatialStrategy(org.locationtech.spatial4j.context.SpatialContext ctx, String fieldName, boolean indexed, boolean docValues) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.document.Field[]createIndexableFields(org.locationtech.spatial4j.shape.Shape shape) org.apache.lucene.search.DoubleValuesSourcemakeDistanceValueSource(org.locationtech.spatial4j.shape.Point queryPoint, double multiplier) org.apache.lucene.search.QuerymakeQuery(org.apache.lucene.spatial.query.SpatialArgs args) protected org.apache.lucene.search.QuerymakeQueryFromDocValues(org.locationtech.spatial4j.shape.Shape shape) protected org.apache.lucene.search.QuerymakeQueryFromIndex(org.locationtech.spatial4j.shape.Shape shape) Methods inherited from class org.apache.lucene.spatial.SpatialStrategy
getFieldName, getSpatialContext, makeDistanceValueSource, makeRecipDistanceValueSource, toString
-
Constructor Details
-
LatLonPointSpatialStrategy
public LatLonPointSpatialStrategy(org.locationtech.spatial4j.context.SpatialContext ctx, String fieldName, boolean indexed, boolean docValues)
-
-
Method Details
-
createIndexableFields
public org.apache.lucene.document.Field[] createIndexableFields(org.locationtech.spatial4j.shape.Shape shape) - Specified by:
createIndexableFieldsin classorg.apache.lucene.spatial.SpatialStrategy
-
makeQuery
public org.apache.lucene.search.Query makeQuery(org.apache.lucene.spatial.query.SpatialArgs args) - Specified by:
makeQueryin classorg.apache.lucene.spatial.SpatialStrategy
-
makeQueryFromIndex
protected org.apache.lucene.search.Query makeQueryFromIndex(org.locationtech.spatial4j.shape.Shape shape) -
makeQueryFromDocValues
protected org.apache.lucene.search.Query makeQueryFromDocValues(org.locationtech.spatial4j.shape.Shape shape) -
makeDistanceValueSource
public org.apache.lucene.search.DoubleValuesSource makeDistanceValueSource(org.locationtech.spatial4j.shape.Point queryPoint, double multiplier) - Specified by:
makeDistanceValueSourcein classorg.apache.lucene.spatial.SpatialStrategy
-