SOLR-8443: Change /stream handler http param from stream to expr

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joel Bernstein 2015-12-18 21:38:17 +00:00
parent 84005ad61f
commit 60a5da24eb
3 changed files with 4 additions and 2 deletions

View File

@ -196,6 +196,8 @@ Other Changes
* SOLR-8426: Enable /export, /stream and /sql handlers by default and remove them from example configs. (shalin)
* SOLR-8443: Change /stream handler http param from "stream" to "expr" (Joel Bernstein, Dennis Gove)
======================= 5.5.0 =======================

View File

@ -152,7 +152,7 @@ public class StreamHandler extends RequestHandlerBase implements SolrCoreAware {
TupleStream tupleStream = null;
try {
tupleStream = this.streamFactory.constructStream(params.get("stream"));
tupleStream = this.streamFactory.constructStream(params.get("expr"));
} catch (Exception e) {
//Catch exceptions that occur while the stream is being created. This will include streaming expression parse rules.
SolrException.log(logger, e);

View File

@ -257,7 +257,7 @@ public class ParallelStream extends CloudSolrStream implements Expressible {
params.put("distrib","false"); // We are the aggregator.
params.put("numWorkers", workers);
params.put("workerID", w);
params.put("stream", pushStream);
params.put("expr", pushStream);
params.put("qt","/stream");
Replica rep = shuffler.get(w);
ZkCoreNodeProps zkProps = new ZkCoreNodeProps(rep);