You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by GitBox <gi...@apache.org> on 2019/05/29 07:38:24 UTC

[GitHub] [lucene-solr] jpountz commented on a change in pull request #675: SOLR-13350: Multi-threaded search through an index

jpountz commented on a change in pull request #675: SOLR-13350: Multi-threaded search through an index
URL: https://github.com/apache/lucene-solr/pull/675#discussion_r288430225
 
 

 ##########
 File path: lucene/core/src/java/org/apache/lucene/search/MultiCollector.java
 ##########
 @@ -115,6 +116,11 @@ public ScoreMode scoreMode() {
     return scoreMode;
   }
 
+  // nocommit: need to raise a LUCENE jira for this?
+  public List<Collector> getCollectors() {
+    return Collections.unmodifiableList(Arrays.asList(collectors));
+  }
 
 Review comment:
   Maybe we don't need this if you maintain sub collectors as a `List<Collector>` and only convert to a `MultiCollector` when you need to pass them to `IndexSearcher`?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org