Does the spatial constraints for laton types work for multivalued latlon fields? Is there an example of it? using a field conjunction with > < operators didn't work, last I checked.
> On Wed, Oct 13, 2010 at 7:28 AM, PeterKerk <vettepa...@hotmail.com> wrote: >> Hi, >> >> Thanks for the quick reply :) >> >> I downloaded the latest version from the trunk. Got it up and running, >> and >> got the error below: > > Hopefully the QuickStart on the wiki all worked for you, > but you only got the error when customizing your own config? > > Anyway, it looks like you haven't defined a _latLon dynamic field type > for the lat / lon components. > > Here's what is in the example schema: > > <fieldType name="location" class="solr.LatLonType" > subFieldSuffix="_coordinate"/> > <dynamicField name="*_coordinate" type="tdouble" indexed="true" > stored="false"/> > > <field name="store" type="location" indexed="true" stored="true"/> > > -Yonik > http://www.lucidimagination.com > >> 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. >> >