Re: Spatial Search and faceting

2012-02-16 Thread Eric Grobler
Hi William, Thanks for the feedback. I will try the group query and see how the performance with 2 queries is. Best Regards Ericz On Thu, Feb 16, 2012 at 4:06 AM, William Bell wrote: > One way to do it is to group by city and then sort=geodist() asc > > select?group=true&group.field=city&sort

Re: Spatial Search and faceting

2012-02-15 Thread William Bell
One way to do it is to group by city and then sort=geodist() asc select?group=true&group.field=city&sort=geodist() desc&rows=10&fl=city It might require 2 calls to SOLR to get it the way you want. On Wed, Feb 15, 2012 at 5:51 PM, Eric Grobler wrote: > Hi Solr community, > > I am doing a spatial