mirror of
https://github.com/apache/lucene.git
synced 2025-02-27 21:09:19 +00:00
LUCENE-10092: fix test bug by forceMerging the index down to one segment
This commit is contained in:
parent
7eb35be045
commit
ee0695eda8
@ -124,6 +124,7 @@ public class TestCheckIndex extends BaseTestCheckIndex {
|
||||
tombstone.add(new NumericDocValuesField("soft_delete", 1));
|
||||
w.softUpdateDocument(
|
||||
new Term("id", "1"), tombstone, new NumericDocValuesField("soft_delete", 1));
|
||||
w.forceMerge(1);
|
||||
}
|
||||
|
||||
ByteArrayOutputStream output = new ByteArrayOutputStream();
|
||||
|
Loading…
x
Reference in New Issue
Block a user