[
https://issues.apache.org/jira/browse/LUCENE-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756028#comment-16756028
]
ASF subversion and git services commented on LUCENE-8664:
---------------------------------------------------------
Commit 5dad8ced850a3fb7de4a2fbb302daf6ab5880b73 in lucene-solr's branch
refs/heads/branch_8_0 from Luca Cavanna
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=5dad8ce ]
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]