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

Alan Woodward updated LUCENE-7723:
----------------------------------
    Attachment: LUCENE-7723.patch

Here's a first-pass patch for this.  The main issue is going to be what to do 
with the function and scoringFunction sources, as there doesn't seem to be an 
easy way to compare lambdas for equality (see failing test in the patch) - 
[~thetaphi] do you have any suggestions?


> LongValuesSource/DoubleValuesSource impls should implement equals/hashCode
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-7723
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7723
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>         Attachments: LUCENE-7723.patch
>
>
> Given that we embed values sources in queries and sorts, from which we expect 
> that they have working equals/hashCode, we should also implement 
> equals/hashCode on LongValuesSource/DoubleValuesSource impls.



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