dweiss opened a new issue, #14344: URL: https://github.com/apache/lucene/issues/14344
### Description This fails for me every time on main: ``` ./gradlew -p lucene/backward-codecs -Ptests.seed=CF895D81F5B12730 test --tests TestIndexSortBackwardsCompatibility ... > java.lang.AssertionError > at __randomizedtesting.SeedInfo.seed([CF895D81F5B12730:BB28CAB11B15A539]:0) > at junit@4.13.1/org.junit.Assert.fail(Assert.java:87) > at junit@4.13.1/org.junit.Assert.assertTrue(Assert.java:42) > at junit@4.13.1/org.junit.Assert.assertTrue(Assert.java:53) > at org.apache.lucene.backward_index.TestIndexSortBackwardsCompatibility.searchExampleIndex(TestIndexSortBackwardsCompatibility.java:217) ``` It's an interesting failure caused by random setting of max token length in TestIndexSortBackwardsCompatibility: ``` analyzer.setMaxTokenLength(TestUtil.nextInt(random(), 1, IndexWriter.MAX_TERM_LENGTH)); ``` this clashes with an assertion that uses tokens that are longer later - ``` topDocs = searcher.search(new TermQuery(new Term("body", "the")), 5); assertTrue(topDocs.totalHits.value() > 0); ``` ### Version and environment details _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org