Re: SOLR 3.4 GeoSpatial Query Returning distance

2012-08-02 Thread Tanguy Moal
Hi, I've not tested it by myself but I think that can take advantage of Solr 4's pseudo fields, by adding something like : &fl=*,geodist(),score I think you could even pass several geodist() calls with different parameters if you want to have the distance wrt several POIs ^-^ SOLR 4 only. -- Ta

Re: SOLR 3.4 GeoSpatial Query Returning distance

2012-08-02 Thread Michael Kuhlmann
On 02.08.2012 01:52, Anand Henry wrote: Hi, In SOLR 3.4, while doing a geo-spatial search, is there a way to retrieve the distance of each document from the specified location? Not that I know of. What we did was to read and parse the location field on client side and calculate the distance