lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammad Norouzi" <mnr...@gmail.com>
Subject regarding range search
Date Tue, 12 Jun 2007 06:44:25 GMT
Hello
consider a query like this

patientResult:[8 TO 9]

this returns correct documents but

patientResult:[8 TO 10]

return nothing. and also this range [0.1 TO 10]  returns results like 11,
10.8, 10.9 etc.

is there any tricky way or workaround to obtain correct results? I know
lucene compares them as string but how to resolve the problem

thank you very much in advance


-- 
Regards,
Mohammad
--------------------------
see my blog: http://brainable.blogspot.com/
another in Persian: http://fekre-motefavet.blogspot.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message