[
https://issues.apache.org/jira/browse/LUCENE-7085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15187220#comment-15187220
]
ASF subversion and git services commented on LUCENE-7085:
---------------------------------------------------------
Commit f0ed113bb6ebed008bc9aa5954e12de98d62c951 in lucene-solr's branch
refs/heads/branch_6_0 from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f0ed113 ]
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]