For facets, doesn't http://localhost:8983/solr/select?wt=json&indent=true&fl=name,store&q=*:*&facet=on &facet.query={!frange l=0 u=3}geodist(store,45.15,-93.85) &facet.query={!frange l=3.001 u=4}geodist(store,45.15,-93.85) &facet.query={!frange l=4.001 u=5}geodist(store,45.15,-93.85)
work (from http://wiki.apache.org/solr/SpatialSearch#How_to_facet_by_distance) Although I also confess to being really unfamiliar with all things geodist... Best Erick On Tue, Jan 8, 2013 at 4:02 AM, Alexandre Rafalovitch <arafa...@gmail.com>wrote: > Hello, > > I am trying to understand the new Solr 4 spatial type and what it can do. I > sort of understand the old implementation, though also far from well. > > The use case is to have companies that has multiple offices, for which I > indexed locations. I then want to do a 'radar' style ranges/facets, so I > can say "show me everything in 100k, in 300k, etc". The wiki page for old > implementation shows how to do it, but I am having troubles figuring this > out for new implementation. > > Regards, > Alex. > P.s. "Not yet possible", "wait till 4.1/5", etc are perfectly valid > shortest answers for me, at this stage. > > Personal blog: http://blog.outerthoughts.com/ > LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch > - Time is the quality of nature that keeps events from happening all at > once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) >