SOLR-10731: Fix typo in test

This commit is contained in:
Joel Bernstein 2017-05-24 20:20:20 -04:00
parent bdde9a163f
commit 3cd144761a
1 changed files with 1 additions and 1 deletions

View File

@ -962,7 +962,7 @@ public class StreamExpressionTest extends SolrCloudTestCase {
assertTrue(tuples.size() == 0);
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);
tuples = getTuples(solrStream);
assertTrue(tuples.size() == 0);