gsmiller commented on a change in pull request #181:
URL: https://github.com/apache/lucene/pull/181#discussion_r652200243



##########
File path: lucene/core/src/java/org/apache/lucene/search/MultiCollector.java
##########
@@ -25,13 +25,39 @@
 /**
  * A {@link Collector} which allows running a search with several {@link 
Collector}s. It offers a
  * static {@link #wrap} method which accepts a list of collectors and wraps 
them with {@link
- * MultiCollector}, while filtering out the <code>null</code> null ones.
+ * MultiCollector}, while filtering out the <code>null</code> ones.
  */
 public class MultiCollector implements Collector {
 
+  /**
+   * Defines the behavior to take when a wrapped {@link Collector} signals 
early termination by
+   * throwing a {@link CollectionTerminatedException}.
+   */
+  public enum EarlyTerminationBehavior {

Review comment:
       Good suggestion, thanks!




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

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

Reply via email to