[ 
https://issues.apache.org/jira/browse/LUCENE-10232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Greg Miller updated LUCENE-10232:
---------------------------------
    Description: 
When {{MultiRangeQuery}} iterates the multiple dimensions to see if any of them 
contain a point/range, it incorrectly short-circuits as soon as one dimension 
matches. It should instead confirm that all dimensions for that range match.

Attached PR demonstrates the bug (in a test case) and includes a proposed fix.

  was:
When {{MultiRangeQuery}} iterates the multiple dimensions to see if any of them 
contain a point/range, it incorrectly short-circuits as soon as one dimension 
matches. It should instead confirm that all dimensions for that range match.

I'll attach a PR shortly with updated tests that show this bug along with a fix.


> MultiRangeQuery incorrectly matches docs that only match on a single dimension
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-10232
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10232
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/sandbox
>            Reporter: Greg Miller
>            Assignee: Greg Miller
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When {{MultiRangeQuery}} iterates the multiple dimensions to see if any of 
> them contain a point/range, it incorrectly short-circuits as soon as one 
> dimension matches. It should instead confirm that all dimensions for that 
> range match.
> Attached PR demonstrates the bug (in a test case) and includes a proposed fix.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to