gaobinlong commented on code in PR #15574:
URL: https://github.com/apache/lucene/pull/15574#discussion_r3333196227


##########
lucene/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java:
##########
@@ -1678,8 +1784,54 @@ public ShardSearcher(LeafReaderContext ctx, 
IndexReaderContext parent) {
       this.ctx = ctx;
     }
 
-    public void search(Weight weight, Collector collector) throws IOException {
+    @Override
+    public <C extends Collector, T> T search(Query query, CollectorManager<C, 
T> collectorManager)
+        throws IOException {
+      final Weight weight = createWeight(rewrite(query), ScoreMode.COMPLETE, 
1);

Review Comment:
   Thanks, changed that.



-- 
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]

Reply via email to