gaobinlong commented on code in PR #15653:
URL: https://github.com/apache/lucene/pull/15653#discussion_r3198936257
##########
lucene/misc/src/java/org/apache/lucene/misc/search/DocValuesStats.java:
##########
@@ -296,6 +433,14 @@ protected void doAccumulate(int count) throws IOException {
public Long sum() {
return sum;
}
+
+ @Override
+ void merge(DocValuesStats<?> other) {
+ super.merge(other);
+ if (other instanceof SortedLongDocValuesStats o) {
Review Comment:
Removed all of these unnecessary checks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]