You've specified the field _type_ not the field _name_ in your fl list. try fl=geolocation blah blah
And try raw goedist() rather than _dist_:geodist() maybe? Best Erick On Wed, Jun 19, 2013 at 1:23 PM, PeterKerk <vettepa...@hotmail.com> wrote: > I was reading this: http://wiki.apache.org/solr/SpatialSearch > > I have this Solr query: > > http://localhost:8983/solr/tt/select/?indent=on&facet=true&fq={!geofilt}&pt=51.4416420,5.4697225&sfield=geolocation&d=20&sort=geodist()%20asc&q=*:*&start=0&rows=10&fl=_dist_:geodist(),id,title,lat,lng,location&facet.mincount=1 > > And this in my schema.xml > > <fieldType name="location" class="solr.LatLonType" > subFieldSuffix="_coordinate"/> > > <field name="geolocation" type="location" indexed="true" stored="true"/> > > <dynamicField name="*_coordinate" type="tdouble" indexed="true" > stored="false"/> > > > However, with my current query string, I don't see a distance field in the > document, and also no "location" field. > > What am I missing? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/solr-spatial-search-with-distance-to-search-results-tp4071745.html > Sent from the Solr - User mailing list archive at Nabble.com.