You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2016/03/09 12:03:40 UTC
[jira] [Updated] (LUCENE-7085) PointRangeQuery.equals does not work
[ https://issues.apache.org/jira/browse/LUCENE-7085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-7085:
---------------------------------------
Attachment: LUCENE-7085.patch
Patch.
I also hit and fixed a separate bug in {{InetAddressPoint.newSetQuery}} where it hit an exception if you tried to pass more than one {{InetAddress}} in the set :) Sheesh.
> 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
> 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