lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7085) PointRangeQuery.equals does not work
Date Wed, 09 Mar 2016 15:07:40 GMT

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

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

Commit 770e508fd3d908e9bf7997361299af96aa437b75 in lucene-solr's branch refs/heads/master
from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=770e508 ]

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message