lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Brun <ab...@opsys.fr>
Subject Re: about numeric range searching with large value sets patches
Date Wed, 19 Oct 2005 08:17:53 GMT
Hello,

I juste made some junit test using some IntegerRangeQuery's, and I get 
some strange results.
I attached the junit test I used. It fails on the last assert. I am 
expecting only one result: the date between 1981 and 1983, but I get 2
The test output is:

term = date:1980
term = date:1982
term = date:1984
q = date=[1981 TO 1983]
Document<stored/uncompressed,indexed,tokenized<date:1982>>
Document<stored/uncompressed,indexed,tokenized<date:1984>>

Do you have any idea?

Antoine


Randy Puttick wrote:

>My fault, I forgot to attach it.  I've added it now.  Let me know how
>this works for you.
>
>Randy Puttick
>
>-----Original Message-----
>From: Antoine Brun [mailto:abrun@opsys.fr] 
>Sent: Friday, August 19, 2005 8:11 AM
>To: java-dev@lucene.apache.org
>Subject: about numeric range searching with large value sets patches
>
>Hello,
>
>I am trying to integrate the patches for the numeric range searching and
>
>the org.apache.lucene.util.Sort class that was posted as an attachment 
>imports a org.apache.lucene.util.IntStack which I can't find.
>Can anyone add this class?
>Maybe as an attachment to 
>http://issues.apache.org/bugzilla/show_bug.cgi?id=36135
>
>Thank you
>
>
>       Antoine Brun
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>  
>


Mime
View raw message