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

Adrien Grand commented on LUCENE-6372:
--------------------------------------

{quote}
Query has a this == other test in equals().
{quote}

I'm not sure how much it helps and I wouldn't mind seeing it removed, but to 
answer your question I think it still kicks in for queries that do not need to 
override equals/hashcode like MatchAllDocsQuery?

> Simplify hashCode/equals for SpanQuery subclasses
> -------------------------------------------------
>
>                 Key: LUCENE-6372
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6372
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Paul Elschot
>         Attachments: LUCENE-6372.patch
>
>
> Spin off from LUCENE-6308, see the comments there from around 23 March 2015.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to