I'm attempting to run a polygon search but I'm getting back an "Invalid
Number: Intersects(POLYGON(-83.63493346958422 42.47186899701156"," response.

My geoloc data is stored in the index as follows: "geoloc":
"-82.549200,43.447400"

My polygon query is as follows:
q=geoloc:"Intersects(POLYGON(-83.63493346958422 42.47186899701156,
-83.50962066440843 42.47186899701156, -83.50962066440843 42.43387178026946,
-83.63493346958422 42.43387178026946, -83.63493346958422
42.47186899701156))"

Error response is as follows:
{
  "responseHeader": {
    "status": 400,
    "QTime": 2,
    "params": {
      "debugQuery": "true",
      "fl": "id, geoloc",
      "indent": "true",
      "q": "geoloc:\"Intersects(POLYGON(-83.63493346958422
42.47186899701156, -83.50962066440843 42.47186899701156, -83.50962066440843
42.43387178026946, -83.63493346958422 42.43387178026946, -83.63493346958422
42.47186899701156)\"",
      "_": "1393962573621",
      "wt": "json"
    }
  },
  "error": {
    "msg": "Invalid Number: Intersects(POLYGON(-83.63493346958422
42.47186899701156",
    "code": 400
  }
}

Can really find any info to explain the area so any info that can be
provided would be appreciated.

Thanks
Lee



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Polygon-search-returning-Invalid-Number-error-tp4121189.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to