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

Michael McCandless resolved LUCENE-7085.
----------------------------------------
    Resolution: Fixed

What a nice catch, thanks [~jpountz]!

> PointRangeQuery.equals does not work
> ------------------------------------
>
>                 Key: LUCENE-7085
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7085
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Michael McCandless
>            Priority: Blocker
>             Fix For: master, 6.0
>
>         Attachments: LUCENE-7085.patch
>
>
> Here is a simple unit test that fails:
> {code}
>   public void testPointRangeEquals() {
>     Query q1 = LongPoint.newRangeQuery("a", 0, 1000);
>     Query q2 = LongPoint.newRangeQuery("a", 0, 1000);
>     assertEquals(q1, q2);
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to