We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0fd51c commit 8760654Copy full SHA for 8760654
lucene/core/src/java/org/apache/lucene/search/MaxScoreAccumulator.java
@@ -84,18 +84,5 @@ public int compareTo(DocAndScore o) {
84
}
85
return cmp;
86
87
-
88
- @Override
89
- public boolean equals(Object o) {
90
- if (this == o) return true;
91
- if (o == null || getClass() != o.getClass()) return false;
92
- DocAndScore result = (DocAndScore) o;
93
- return docBase == result.docBase && Float.compare(result.score, score) == 0;
94
- }
95
96
97
- public String toString() {
98
- return "DocAndScore{" + "docBase=" + docBase + ", score=" + score + '}';
99
100
101
0 commit comments