lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Updated: (LUCENE-2541) NumericRangeQuery errors with endpoints near long min and max values
Date Fri, 16 Jul 2010 21:33:52 GMT


Uwe Schindler updated LUCENE-2541:

    Attachment: LUCENE-2541-uwe.patch

Here my solution (its yours), but different test. The tests in NumericRangeQuery also verify
that the range is really covered completely, so I tend to use these tests.

I just tried some values, we have to add randomness and other precsteps. Its just a start
before going to sleep - will extend tests tomorrow, to test different precSteps.

Yonik: The bug appears with 2^63 and, yes, it depends on precStep. What I meant is, that the
outer bounds must be in the "bracket" that covers the 2^63 limit. So with larger precision
steps, also smaller values overflow (but only for longs, ints are safe, as they internally
also use longs).

> NumericRangeQuery errors with endpoints near long min and max values
> --------------------------------------------------------------------
>                 Key: LUCENE-2541
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.9
>            Reporter: Koji Sekiguchi
>            Assignee: Uwe Schindler
>         Attachments: LUCENE-2541-uwe.patch, LUCENE-2541.patch, LUCENE-2541.patch,
> This problem first reported in Solr:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message