mirror of https://github.com/apache/lucene.git
SOLR-10731: Fix typo in test
This commit is contained in:
parent
bdde9a163f
commit
3cd144761a
|
@ -962,7 +962,7 @@ public class StreamExpressionTest extends SolrCloudTestCase {
|
||||||
assertTrue(tuples.size() == 0);
|
assertTrue(tuples.size() == 0);
|
||||||
|
|
||||||
sParams = new ModifiableSolrParams(StreamingTest.mapParams(CommonParams.QT, "/stream"));
|
sParams = new ModifiableSolrParams(StreamingTest.mapParams(CommonParams.QT, "/stream"));
|
||||||
sParams.add("expr", "knn(" + COLLECTIONORALIAS + ", id=\"1\", qf=\"a_t\", r=\"2\", fl=\"id, score\", mintf=\"1\", minwl=\"20\")");
|
sParams.add("expr", "knn(" + COLLECTIONORALIAS + ", id=\"1\", qf=\"a_t\", rows=\"2\", fl=\"id, score\", mintf=\"1\", minwl=\"20\")");
|
||||||
solrStream = new SolrStream(jetty.getBaseUrl().toString() + "/collection1", sParams);
|
solrStream = new SolrStream(jetty.getBaseUrl().toString() + "/collection1", sParams);
|
||||||
tuples = getTuples(solrStream);
|
tuples = getTuples(solrStream);
|
||||||
assertTrue(tuples.size() == 0);
|
assertTrue(tuples.size() == 0);
|
||||||
|
|
Loading…
Reference in New Issue