diff --git a/solr/core/src/test/org/apache/solr/handler/component/TermsComponentTest.java b/solr/core/src/test/org/apache/solr/handler/component/TermsComponentTest.java index 4b1248e4540..adaf26d75c2 100644 --- a/solr/core/src/test/org/apache/solr/handler/component/TermsComponentTest.java +++ b/solr/core/src/test/org/apache/solr/handler/component/TermsComponentTest.java @@ -104,11 +104,17 @@ public class TermsComponentTest extends SolrTestCaseJ4 { public void testUnlimitedRows() throws Exception { assertQ(req("indent","true", "qt","/terms", "terms","true", "terms.fl","lowerfilt", - "terms.fl","standardfilt", - "terms.rows","-1") + "terms.fl","standardfilt") ,"count(//lst[@name='lowerfilt']/*)=9" ,"count(//lst[@name='standardfilt']/*)=10" ); + assertQ(req("indent","true", "qt","/terms", "terms","true", + "terms.fl","lowerfilt", + "terms.fl","standardfilt", + "terms.limit","-1") + ,"count(//lst[@name='lowerfilt']/*)=9" + ,"count(//lst[@name='standardfilt']/*)=16" + ); }