[ https://issues.apache.org/jira/browse/LUCENE-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756029#comment-16756029 ]
ASF subversion and git services commented on LUCENE-8664: --------------------------------------------------------- Commit 5e16a7771a42a45c9351a6f489618f35fb1f8b23 in lucene-solr's branch refs/heads/branch_8x from Luca Cavanna [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=5e16a77 ] 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org