lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-421) Numeric range searching with large value sets
Date Thu, 20 Oct 2005 07:58:11 GMT
     [ http://issues.apache.org/jira/browse/LUCENE-421?page=all ]

Antoine updated LUCENE-421:
---------------------------

    Attachment: IntegerRangeQueryTestCase.java

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
RangeQuery q = date:[1981 TO 1983]
Document<stored/uncompressed,indexed,tokenized<date:1982>>
IntegerRangeQuery q = date=[1981 TO 1983]
Document<stored/uncompressed,indexed,tokenized<date:1982>>
Document<stored/uncompressed,indexed,tokenized<date:1984>>


> Numeric range searching with large value sets
> ---------------------------------------------
>
>          Key: LUCENE-421
>          URL: http://issues.apache.org/jira/browse/LUCENE-421
>      Project: Lucene - Java
>         Type: Improvement
>   Components: Search
>     Versions: 1.4
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Randy Puttick
>     Assignee: Lucene Developers
>     Priority: Minor
>  Attachments: FieldCache.java, FieldCacheImpl.java, FloatRangeQuery.java, FloatRangeScorer.java,
IntStack.java, IntegerRangeQuery.java, IntegerRangeQueryTestCase.java, IntegerRangeScorer.java,
RangeQuery.java, Sort.java
>
> I have a set of enhancements that build on the numeric sorting cache introduced
> by Tim Jones and that provide integer and floating point range searches over
> numeric ranges that are far too large to be implemented via the current term
> range rewrite mechanism.  I'm new to Apache and trying to find out how to attach
> the source files for the changes for your consideration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
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