Hi,

Thanks for the quick reply :)

I downloaded the latest version from the trunk. Got it up and running, and
got the error below:

URL:
http://localhost:8983/solr/db/select/?wt=xml&indent=on&facet=true&fl=id,title,lat,lng,city&facet.field=province_raw&q=*:*&fq={!geofilt%20pt=45.15,-93.85%20sfield=geolocation%20d=5}

HTTP ERROR 400

Problem accessing /solr/db/select/. Reason:

    undefined field geolocation_0_latLon

Powered by Jetty://


        
My field definition is:

I added this in schema.xml:
<field name="geolocation" type="latLon" indexed="true" stored="true"/>
<fieldType name="latLon" class="solr.LatLonType" subFieldSuffix="_latLon"/>


data-config.xml:             
<entity name="location_geolocations" query="select (lat+','+lng) as geoloc
FROM locations WHERE id='${location.id}'">
        <field name="geolocation" column="geoloc"  />
</entity>


I looked in the schema.xml of the latest download, but it turns out in the
download there's nothing defined in that schema.xml on "latLon" type either.

Any suggestions what im doing wrong?

Thanks!
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Spatial-search-in-Solr-1-5-tp489948p1693797.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to