I missed the need to force merge to 1 segment before getOnlyLeafReader. I will open a fix later today for this test and the others that might hit this issue when IWC has low document thresholds.
-- Tim Brooks [email protected] On Sun, May 17, 2026, at 8:36 AM, Dawid Weiss wrote: > > This failure is new - it's related to the columnar indexing API. > > On Fri, May 15, 2026 at 4:41 PM Policeman Jenkins Server via builds > <[email protected]> wrote: >> Build: https://jenkins.thetaphi.de/job/Lucene-main-macOS/16651/ >> Java: 64bit/hotspot/jdk-25.0.2 -XX:+UseCompressedOops -XX:+UseSerialGC >> >> 1 tests failed. >> FAILED: >> org.apache.lucene.index.TestColumnBatchIndexing.testSparseBatchMatchesDocByDoc >> >> Error Message: >> java.lang.IllegalArgumentException: StandardDirectoryReader(segments_1:6 >> _0(11.0.0):c6 _1(11.0.0):c1) has 2 segments instead of exactly one >> >> Stack Trace: >> java.lang.IllegalArgumentException: StandardDirectoryReader(segments_1:6 >> _0(11.0.0):c6 _1(11.0.0):c1) has 2 segments instead of exactly one >> at >> __randomizedtesting.SeedInfo.seed([515FDD72B16D7E0B:3CB246AE29B2F10B]:0) >> at >> org.apache.lucene.tests.util.LuceneTestCaseParent.getOnlyLeafReader(LuceneTestCaseParent.java:1681) >> at >> org.apache.lucene.index.TestColumnBatchIndexing.testSparseBatchMatchesDocByDoc(TestColumnBatchIndexing.java:478) >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected]
