fixed RandomScoreFunctionTests
This commit is contained in:
parent
c93eae8545
commit
91e78dcbe8
|
@ -57,7 +57,7 @@ public class RandomScoreFunctionTests extends AbstractSharedClusterTest {
|
||||||
int docCount = atLeast(100);
|
int docCount = atLeast(100);
|
||||||
|
|
||||||
for (int i = 0; i < docCount; i++) {
|
for (int i = 0; i < docCount; i++) {
|
||||||
index("test", "type", "" + docCount, jsonBuilder().startObject().endObject());
|
index("test", "type", "" + i, jsonBuilder().startObject().endObject());
|
||||||
}
|
}
|
||||||
|
|
||||||
flush();
|
flush();
|
||||||
|
|
Loading…
Reference in New Issue