We are using Apache Solr 5.x, and we currently have a bunch of defined shapes. Polygons, Circles, etc. These all correspond to a document, each shape of coordinates does.
What I want to know is - is it possible to provide a circle
, that is - a (lat,lng) pair along with a Radius
for that circle - and then find all documents that have an intersection with that circle?
I have tried a variety of options, most recently this one:
solr_index_wkt:"IsWithin(CIRCLE((149.39999999999998 -34.92 d=0.44964028776978415))) distErrPct=0.0"
However, this results in the following error:
"msg": "Unknown Shape definition [CIRCLE((149.39999999999998 -34.92 d=0.44964028776978415))]",
Really stumped on this one.
update
the solr_index_wkt is the field that is defining the 'bounding boxes' for the polygons, circles and stuff on the indexed documents.