mirror of https://github.com/apache/lucene.git
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:
parent
84005ad61f
commit
60a5da24eb
|
@ -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 =======================
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue