Package org.apache.solr.schema
Interface SpatialQueryable
-
- All Known Implementing Classes:
AbstractSpatialFieldType,AbstractSpatialPrefixTreeFieldType,BBoxField,DateRangeField,LatLonPointSpatialField,PointType,RptWithGeometrySpatialField,SpatialRecursivePrefixTreeFieldType
public interface SpatialQueryableIndicate that the implementing class is capable of generating a Query against spatial resources. For example, theLatLonPointSpatialFieldis capable of creating a query that restricts the document space down to documents that are within a certain distance of a given point on Earth. *
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.lucene.search.QuerycreateSpatialQuery(QParser parser, SpatialOptions options)doublegetSphereRadius()
-
-
-
Method Detail
-
createSpatialQuery
org.apache.lucene.search.Query createSpatialQuery(QParser parser, SpatialOptions options)
-
getSphereRadius
double getSphereRadius()
-
-