Skip to content

Commit

Permalink
fix: unittest override method
Browse files Browse the repository at this point in the history
  • Loading branch information
romanchyla committed Dec 28, 2021
1 parent 72d2b9a commit 82b1a58
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,11 @@ public void collect(int doc) throws IOException {
public boolean needsScores() {
return false;
}

@Override
public SecondOrderCollector copy() {
return this;
}

}),
new SimpleCollector() { // this one collects results
Expand Down

0 comments on commit 82b1a58

Please sign in to comment.