gautamworah96 commented on a change in pull request #242: URL: https://github.com/apache/lucene/pull/242#discussion_r700700949
########## File path: lucene/core/src/java/org/apache/lucene/search/FilterWeight.java ########## @@ -67,4 +67,9 @@ public Scorer scorer(LeafReaderContext context) throws IOException { public Matches matches(LeafReaderContext context, int doc) throws IOException { return in.matches(context, doc); } + + @Override + public int count(LeafReaderContext context) throws IOException { + return in.count(context); + } Review comment: Sure. Makes sense. I think I added that code as a knee jerk reaction to the error that `TestFilterWeight` was throwing. Fixed it by adding it to the list of methods that are not supposed to be overridden. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org