It is fairly simple to generate facets for ranges or 'buckets' of
distance in Solr:
http://wiki.apache.org/solr/SpatialSearch#How_to_facet_by_distance.
What isnt described is how to generate the links for these facets

If this is the query to return everything within 10km :
&q=:&fq={!geofilt sfield=store}&pt=45.15,-93.85&d=10
-what then would be the syntax to search for everything between 5 and 10km ?

What would the solr query-links look like for the following facets?

distance
0-1km (2)
1-5km (0)
5-20km (0)
20-50km (0)
50-100km (0)
100-250km (0)

Cheers!
Fergus

Reply via email to