Package org.apache.solr.schema
Interface SpatialQueryable
-
- All Known Implementing Classes:
AbstractSpatialFieldType
,AbstractSpatialPrefixTreeFieldType
,BBoxField
,DateRangeField
,LatLonPointSpatialField
,PointType
,RptWithGeometrySpatialField
,SpatialRecursivePrefixTreeFieldType
public interface SpatialQueryable
Indicate that the implementing class is capable of generating a Query against spatial resources. For example, theLatLonPointSpatialField
is 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.Query
createSpatialQuery(QParser parser, SpatialOptions options)
double
getSphereRadius()
-
-
-
Method Detail
-
createSpatialQuery
org.apache.lucene.search.Query createSpatialQuery(QParser parser, SpatialOptions options)
-
getSphereRadius
double getSphereRadius()
-
-