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/23 20:40:25 UTC
[jira] [Commented] (LUCENE-7133) PointRangeQuery and
PointInSetQuery .equals and .hashCode methods are buggy
[ https://issues.apache.org/jira/browse/LUCENE-7133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15209008#comment-15209008 ]
Michael McCandless commented on LUCENE-7133:
--------------------------------------------
Ugh, nice catch!!! First equals failed to return true, now it fails to return false!
> PointRangeQuery and PointInSetQuery .equals and .hashCode methods are buggy
> ---------------------------------------------------------------------------
>
> Key: LUCENE-7133
> URL: https://issues.apache.org/jira/browse/LUCENE-7133
> Project: Lucene - Core
> Issue Type: Bug
> Affects Versions: master, 6.0
> Reporter: Nicholas Knize
> Assignee: Michael McCandless
> Priority: Blocker
> Fix For: master, 6.0
>
>
> Caught while cutting over {{spatial-extras}} from {{LegacyDoubleField}} to {{DoublePoint}} field:
> {{PointRangeQuery.equals()}} and {{.hashCode}} fails with a false positive if the Ranges are identical but {{field}} is different.
--
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