jpountz commented on code in PR #12622: URL: https://github.com/apache/lucene/pull/12622#discussion_r1402306694
########## lucene/core/src/java/org/apache/lucene/index/IndexWriter.java: ########## @@ -3475,6 +3475,8 @@ public void addIndexesReaderMerge(MergePolicy.OneMerge merge) throws IOException merge.getMergeInfo().info.setUseCompoundFile(true); } + merge.setMergeInfo(merge.info); Review Comment: Yes, some of the new tests failed because the new merge policy records that a segment has been reordered in the segment's diagnostics. Let me add dedicated tests for setMergeInfo. -- 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