shubhamsrkdev commented on code in PR #15295:
URL: https://github.com/apache/lucene/pull/15295#discussion_r2513946593
##########
lucene/core/src/test/org/apache/lucene/index/TestAddIndexes.java:
##########
@@ -1450,11 +1455,11 @@ public void testNonCFSLeftovers() throws Exception {
MockDirectoryWrapper dir = new MockDirectoryWrapper(random(), new
ByteBuffersDirectory());
IndexWriterConfig conf =
- new IndexWriterConfig(new
MockAnalyzer(random())).setMergePolicy(newLogMergePolicy(true));
- MergePolicy lmp = conf.getMergePolicy();
+ new IndexWriterConfig(new
MockAnalyzer(random())).setMergePolicy(newLogMergePolicy());
// Force creation of CFS:
- lmp.setNoCFSRatio(1.0);
- lmp.setMaxCFSSegmentSizeMB(Double.POSITIVE_INFINITY);
+ conf.getCodec().compoundFormat().setShouldUseCompoundFile(true);
+
conf.getCodec().compoundFormat().setMaxCFSSegmentSizeMB(Double.POSITIVE_INFINITY);
+ conf.setUseCompoundFile(true);
Review Comment:
Right, removing.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]