Joined: Thu Apr 02, 2009 8:05 am Posts: 4
|
Hi
in my project I have the following indexed class:
class Photo {
...
Float longitude;
...
}
the float number indexed with mask "%09.4f" so longitude stored as
0011.1234 or -111.2345
querying with positive number range works, like
longitude:[0010.0123 TO 0015.3445]
querying for a given negative value also works:
longitude:-111.2345
but it fails with negative range
longitude:[-110.0000 TO -115.0000]
I tried to escape the minus sign but that does not help
I tried to find it out using Luke but failed...
both my code and luke uses ConstantScoreRangeQuery
can anybody help ??
thanks
Gabor
|
|