On Thu, Mar 29, 2012 at 6:44 PM, Alexandre Rocco <alel...@gmail.com> wrote:
> Yonik,
>
> Thanks for the heads-up. That one worked.
>
> Just trying to wrap around how it would work on a real case. To test this
> one I just got the coordinates from Google Maps and searched within the pair
> of coordinates as I got them. Should I always check which is the lower and
> upper to assemble the query?

Yep... range query on LatLonField is currently pretty low level, and
you need to ensure yourself that lat1<=lat2 and lon1<=lon2 in
[lat1,lon1 TO lat2,lon2]

-Yonik
lucenerevolution.com - Lucene/Solr Open Source Search Conference.
Boston May 7-10

Reply via email to