Skip to content

Commit

Permalink
SOLR-16420: fix knn stream test (apache#1193)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhludnev authored Nov 25, 2022
1 parent 87d53b4 commit 2abb331
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ public void testKnnSearchStream() throws Exception {
"expr",
"knnSearch("
+ COLLECTIONORALIAS
+ ", id=\"1\", qf=\"a_t\", rows=\"4\", fl=\"id, score\", mintf=\"1\")");
+ ", id=\"1\", qf=\"a_t\", rows=\"4\", fl=\"id, score\", mintf=\"1\", mindf=\"0\")");
JettySolrRunner jetty = cluster.getJettySolrRunner(0);
SolrStream solrStream =
new SolrStream(jetty.getBaseUrl().toString() + "/collection1", sParams);
Expand All @@ -821,7 +821,7 @@ public void testKnnSearchStream() throws Exception {
"expr",
"knnSearch("
+ COLLECTIONORALIAS
+ ", id=\"1\", qf=\"a_t\", k=\"2\", fl=\"id, score\", mintf=\"1\")");
+ ", id=\"1\", qf=\"a_t\", k=\"2\", fl=\"id, score\", mintf=\"1\", mindf=\"0\")");
solrStream = new SolrStream(jetty.getBaseUrl().toString() + "/collection1", sParams);
tuples = getTuples(solrStream);
assertEquals(2, tuples.size());
Expand Down

0 comments on commit 2abb331

Please sign in to comment.