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
-
-
Constructor Summary
Constructors Constructor Description LatLonPointSpatialStrategy(org.locationtech.spatial4j.context.SpatialContext ctx, String fieldName, boolean indexed, boolean docValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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)
-
-
-
Constructor Detail
-
LatLonPointSpatialStrategy
public LatLonPointSpatialStrategy(org.locationtech.spatial4j.context.SpatialContext ctx, String fieldName, boolean indexed, boolean docValues)
-
-
Method Detail
-
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
-
-