Getting the following error when attempting to run a polygon query from the Solr Admin utility: :"com.spatial4j.core.exception.InvalidShapeException: incompatible dimension (2) and values (Intersects). Only 0 values specified", "code":400
My query is as follows: q=geoloc:Intersects(POLYGON((-83.6349 42.4718, -83.5096 42.471868, -83.5096 42.4338, -83.6349 42.4338, -83.6349 42.4718))) The response is as follows: { "responseHeader":{ "status":400, "QTime":2, "params":{ "debugQuery":"true", "fl":"id, openhousestartdate, geoloc", "sort":"openhousestartdate desc", "indent":"true", "q":"geoloc:Intersects(POLYGON((83.6349 42.4718, 83.5096 42.471868, 83.5096 42.4338, 83.6349 42.4338, 83.6349 42.4718)))", "wt":"json"}}, "error":{ "msg":"com.spatial4j.core.exception.InvalidShapeException: incompatible dimension (2) and values (Intersects). Only 0 values specified", "code":400}} My "geoloc" dimension/field is setup as follows in my Schema.xml: <field name="geoloc" type="location" indexed="true" stored="true" multiValued="false"/> Some sample document "geoloc" data is shown below. "docs": [ { "geoloc": "-82.549200,43.447400" }, { "geoloc": "-82.671551,43.421797" } ] My Solr version info is as follows: solr-spec: 4.6.1 solr-impl: 4.6.1 1560866 - mark - 2014-01-23 20:21:50 lucene-spec: 4.6.1 lucene-impl: 4.6.1 1560866 - mark - 2014-01-23 20:11:13 Any info on a solution to this problem would be appreciated. Thanks Lee -- View this message in context: http://lucene.472066.n3.nabble.com/Polygon-search-returning-InvalidShapeException-incompatible-dimension-2-error-tp4121704.html Sent from the Solr - User mailing list archive at Nabble.com.