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

ASF subversion and git services commented on LUCENE-7085:
---------------------------------------------------------

Commit 9f8fe1239afb7089b9f85432d076bdd778d3cd50 in lucene-solr's branch 
refs/heads/branch_6x from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=9f8fe12 ]

LUCENE-7085: PointRangeQuery.equals sometimes returns false even if queries 
were in fact equal


> 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