Further down that very page <G>...

Here's an example of sorting by distance ascending:

   -

   ...&q=*:*&sfield=store&pt=45.15,-93.85&sort=geodist()
asc<http://localhost:8983/solr/select?wt=json&indent=true&fl=name,store&q=*:*&sfield=store&pt=45.15,-93.85&sort=geodist()%20asc>




The key is just the &sort=geodist(), I'm pretty sure that's independent of
the bbox, but
I could be wrong.

Best
Erick

On Wed, Feb 2, 2011 at 11:18 AM, Eric Grobler <impalah...@googlemail.com>wrote:

> Hi
>
> In http://wiki.apache.org/solr/SpatialSearch
> there is an example of a bbox filter and a geodist function.
>
> Is it possible to do a bbox filter and sort by distance - combine the two?
>
> Thanks
> Ericz
>

Reply via email to