We really need to see your schema definitions for the relevant field. For
instance,
if you're storing these as text you may just be losing the negative sign
which would
lead to all sorts of interesting "failures"..

Best
Erick

On Tue, May 11, 2010 at 9:53 AM, Christopher Gross <cogr...@gmail.com>wrote:

> I've stored some geo data in SOLR, and some of the coordinates are negative
> numbers.  I'm having trouble getting a range to work.
>
> Using the query tool in the admin interface, I can get something like:
>
> lon:[* TO 0]
>
> to work to list out everything with a negative longitude, but if I try to
> do
> something like:
>
> lon:[-115 TO -110]
>
> I don't get my document with a longitude set to -111.  Even switching out
> the -110 to 0 doesn't net that one (though others with a valid longitude in
> the range are returned).  I'm having no problems at all with ranges
> involving positive numbers.
>
> Am I missing something with using the ranges, or is there another way that
> I
> can make such a query?
>
> Thanks!
>
> -- Chris
>

Reply via email to