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

Alan Woodward commented on LUCENE-7808:
---------------------------------------

* Can you use Objects.hash() for the hashcode implementations?
* SpanPayloadCheckQuery.rewrite() needs to rewrite its inner query as well (see 
LUCENE-7481)

Otherwise +1

> 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]

Reply via email to