mirror of https://github.com/apache/lucene.git
LUCENE-7568: Fix test that should never create segments with a single document.
This commit is contained in:
parent
0d760aeddb
commit
37b75bef3f
|
@ -204,7 +204,7 @@ public class TestIndexSorting extends LuceneTestCase {
|
|||
// segment sort is needed
|
||||
codec.needsIndexSort = true;
|
||||
codec.numCalls = 0;
|
||||
for (int i = 200; i < 300; i++) {
|
||||
for (int i = 201; i < 300; i++) {
|
||||
Document doc = new Document();
|
||||
doc.add(new StringField("id", Integer.toString(i), Store.YES));
|
||||
doc.add(new NumericDocValuesField("id", i));
|
||||
|
@ -1698,7 +1698,6 @@ public class TestIndexSorting extends LuceneTestCase {
|
|||
dir.close();
|
||||
}
|
||||
|
||||
|
||||
// docvalues fields involved in the index sort cannot be updated
|
||||
public void testBadDVUpdate() throws Exception {
|
||||
Directory dir = newDirectory();
|
||||
|
|
Loading…
Reference in New Issue