I am trying to get spatial search to work on my Solr installation. I am running 
version 1.4.1 with the Jayway Team spatial-solr-plugin. I am performing the 
search with the following url:

http://localhost:8080/solr/select?wt=json&indent=true&q=title:Art%20Loft{!spatial%20lat=37.326375%20lng=-121.892639%20radius=3%20unit=km%20threadCount=3}


The result that I get is the following error:

HTTP Status 400 - org.apache.lucene.queryParser.ParseException: Cannot parse 
'title:Art Loft{!spatial lat=37.326375 lng=-121.892639 radius=3 unit=km 
threadCount=3}': Encountered " <RANGEEX_GOOP> "lng=-121.892639 "" at line 1, 
column 38. Was expecting: "}"

Not sure why it would be complaining about the lng parameter in the query. I 
double-checked to make sure that I had the right name for the longitude field 
in 
my solrconfig.xml file.

Any help/suggestions would be greatly appreciated

 Dennis Gearon


Signature Warning
----------------
It is always a good idea to learn from your own mistakes. It is usually a 
better 
idea to learn from others’ mistakes, so you do not have to make them yourself. 
from 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036'


EARTH has a Right To Life,
otherwise we all die.

Reply via email to