Covering a distance in solr- how to generate links that are searched with a given range of distances

It's pretty simple to create faces for ranges or buckets of distance in Solr: http://wiki.apache.org/solr/SpatialSearch#How_to_facet_by_distance

What is not described, how to create links for these faces

If it is a request to return everything within 5 km:

& q =: & fq = {! geofilt sfield = store} & pt = 45.15, -93.85 & d = 5

-What would be the syntax for finding everything between 5 and 10 km?

Basically, I can create boundary faces, but I don't know how to create links for distance facets:

For example, what do the links for the following faces look like ?:

distance

0-1 km (2)

1-5 km (0)

5-20 km (0)

20-50 km (0)

50-100 km (0)

100-250 km (0)

+3
1

:

&q=*:*&sfield=store&pt=45.15,-93.85&facet.query={!frange l=0 u=5}geodist()&facet.query={!frange l=5.001 u=3000}geodist()

0 5 , - 5 3000 . frange .

, . fq={!frange l=5.001 u=3000}geodist()

+4

All Articles