mirror of https://github.com/apache/lucene.git
tests: create multiple segments when testing grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@987937 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0a506c5cde
commit
2681ca2d67
|
@ -144,12 +144,15 @@ public class TestGroupingSearch extends SolrTestCaseJ4 {
|
|||
assertU(adoc("id","1", f,"5", f2,"4"));
|
||||
assertU(adoc("id","2", f,"4", f2,"2"));
|
||||
assertU(adoc("id","3", f,"3", f2,"7"));
|
||||
assertU(commit());
|
||||
assertU(adoc("id","4", f,"2", f2,"6"));
|
||||
assertU(adoc("id","5", f,"1", f2,"2"));
|
||||
assertU(adoc("id","6", f,"3", f2,"2"));
|
||||
assertU(adoc("id","7", f,"2", f2,"3"));
|
||||
assertU(commit());
|
||||
assertU(adoc("id","8", f,"1", f2,"10"));
|
||||
assertU(adoc("id","9", f,"2", f2,"1"));
|
||||
assertU(commit());
|
||||
assertU(adoc("id","10", f,"1", f2,"3"));
|
||||
assertU(commit());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue