[ 
https://issues.apache.org/jira/browse/LUCENE-6372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Elschot updated LUCENE-6372:
---------------------------------
    Attachment: LUCENE-6372.patch

Patch of 4 May 2015.
Simplifies hashCode/equals for all subclasses of SpanQuery.
Removes this == other checks in equals(), this might affect performance.
Adds a few Objects.requireNonNull calls in constructors.
Leaves various getBoost calls in hashCode implementations to super.
Removes hashCode/equals from SpanFirstQuery, not needed anymore.
Uses new collectPayloads attribute in SpanNearQuery hashCode/equals.


> hashCode/equals for SpanPositionCheckQuery and 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to