[
https://issues.apache.org/jira/browse/LUCENE-7808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986449#comment-15986449
]
Erik Hatcher commented on LUCENE-7808:
--------------------------------------
[~romseygeek] thanks for feedback. I did use Objects.hash() in the .hashCode's
that I worked on - is that not quite correct? As for rewrite() - I'm not sure
what is needed there exactly. For some reason I added a .rewrite to
SpanPayloadCheckQuery, but not to PayloadScoreQuery - but I guess I didn't do
that fully? Do you have an example or some other hints as to how to implement
what is needed? Happy to do the work while I'm in there!
> PayloadScoreQuery and SpanPayloadCheckQuery have incomplete .equals and
> .hashCode methods
> -----------------------------------------------------------------------------------------
>
> Key: LUCENE-7808
> URL: https://issues.apache.org/jira/browse/LUCENE-7808
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Erik Hatcher
> Assignee: Erik Hatcher
> Fix For: master (7.0), 6.6
>
> Attachments: LUCENE-7808.patch
>
>
> Both PayloadScoreQuery and SpanPayloadCheckQuery have incomplete .equals and
> .hashCode methods, causing caching issues.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]