Indexing and querying polygons
Geospatial data is stored in the database in WKT (Well Known Text) format.
To support Polygons and MultiPolygons fields, set the field type in the table index schema to solr.SpatialRecursivePrefixTreeFieldType.
|
|
Polygonal searches use the following geospatial predicates:
-
Intersects: Matches if the indexed value overlaps the search criteria.
-
IsWithin: Matches if the indexed value completely encapsulates the search criteria.
-
IsDisjointTo: Matches if the index value does not overlap or touch the search criteria.