jpountz commented on code in PR #12549: URL: https://github.com/apache/lucene/pull/12549#discussion_r1322599113
########## lucene/core/src/test/org/apache/lucene/index/TestIndexWriterDelete.java: ########## @@ -1315,7 +1315,8 @@ public void testTryDeleteDocument() throws Exception { w.addDocument(doc); w.close(); - iwc = new IndexWriterConfig(new MockAnalyzer(random())); + iwc = new IndexWriterConfig(new MockAnalyzer(random())) + .setMergePolicy(NoMergePolicy.INSTANCE); Review Comment: Note to reviewers: this test now triggers a merge because of deletes. Since the test is only about checking how deletes get applied, I simply disabled merging. -- 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 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