lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbern...@apache.org
Subject lucene-solr:branch_7x: SOLR-11024: ParallelStream should set the StreamContext when constructing SolrStreams
Date Fri, 07 Jul 2017 01:03:21 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x bbdc93301 -> ed4783a55


SOLR-11024: ParallelStream should set the StreamContext when constructing SolrStreams


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/ed4783a5
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/ed4783a5
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/ed4783a5

Branch: refs/heads/branch_7x
Commit: ed4783a55e14cbf85329c4fc02334856b657e1d3
Parents: bbdc933
Author: Joel Bernstein <jbernste@apache.org>
Authored: Thu Jul 6 20:53:58 2017 -0400
Committer: Joel Bernstein <jbernste@apache.org>
Committed: Thu Jul 6 21:00:06 2017 -0400

----------------------------------------------------------------------
 .../java/org/apache/solr/client/solrj/io/stream/ParallelStream.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ed4783a5/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/ParallelStream.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/ParallelStream.java
b/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/ParallelStream.java
index 58ba248..5c89a76 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/ParallelStream.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/ParallelStream.java
@@ -267,6 +267,7 @@ public class ParallelStream extends CloudSolrStream implements Expressible
{
 
         String url = shardUrls.get(w);
         SolrStream solrStream = new SolrStream(url, paramsLoc);
+        solrStream.setStreamContext(streamContext);
         solrStreams.add(solrStream);
       }
 


Mime
View raw message