Hi Solr community,

I am doing a spatial search and then do a facet by city.
Is it possible to then sort the faceted cities by distance?

We would like to display the hits per city, but sort them by distance.

Thanks & Regards
Ericz

q=iphone
fq={!bbox}
sfield=geopoint
pt=49.594857,8.468614
d=50
fl=id,description,city,geopoint

facet=true
facet.field=city
f.city.facet.limit=10
f.city.facet.sort=count //geodist() asc

Reply via email to