[
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: [email protected]
For additional commands, e-mail: [email protected]