mirror of https://github.com/apache/lucene.git
SOLR-11926: correct/extend TermsComponentTest.testUnlimitedRows logic
This commit is contained in:
parent
e2a5d46b9c
commit
a296092341
|
@ -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"
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue