You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Greg Miller (Jira)" <ji...@apache.org> on 2021/11/12 14:58:00 UTC

[jira] [Commented] (LUCENE-10232) MultiRangeQuery incorrectly matches docs that only match on a single dimension

    [ https://issues.apache.org/jira/browse/LUCENE-10232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17442788#comment-17442788 ] 

Greg Miller commented on LUCENE-10232:
--------------------------------------

This PR demonstrates the issue along with a fix: https://github.com/apache/lucene/pull/437

> 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.
> I'll attach a PR shortly with updated tests that show this bug along with a fix.



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

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