[
https://issues.apache.org/jira/browse/LUCENE-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756023#comment-16756023
]
ASF subversion and git services commented on LUCENE-8664:
---------------------------------------------------------
Commit 57f693bfc2eb23f7882bbc9e475c95fa30c25bb9 in lucene-solr's branch
refs/heads/master from Luca Cavanna
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=57f693b ]
LUCENE-8664: Add equals/hashcode methods to TotalHits class
Adding equals/hashcode to TotalHits is convenient for quick comparisons,
especially for users that may use it as part of bigger objects that have their
own equals/hashcode.
> Add equals/hashcode to TotalHits
> --------------------------------
>
> Key: LUCENE-8664
> URL: https://issues.apache.org/jira/browse/LUCENE-8664
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Luca Cavanna
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> I think it would be convenient to add equals/hashcode methods to the
> TotalHits class. I opened a PR here:
> [https://github.com/apache/lucene-solr/pull/552] .
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]