shubhamsrkdev commented on code in PR #15295:
URL: https://github.com/apache/lucene/pull/15295#discussion_r2721408194
##########
lucene/test-framework/src/java/org/apache/lucene/tests/index/BaseCompressingDocValuesFormatTestCase.java:
##########
@@ -46,6 +46,7 @@ static long dirSize(Directory d) throws IOException {
public void testUniqueValuesCompression() throws IOException {
try (final Directory dir = new ByteBuffersDirectory()) {
final IndexWriterConfig iwc = new IndexWriterConfig(new
MockAnalyzer(random()));
+ iwc.getCodec().compoundFormat().setShouldUseCompoundFile(false);
Review Comment:
We had to disable compound files here. The reason being, before this change
we had a CFS ratio (10%) which in this case would not result in compound file
creation. However since we switched to a fixed threshold (64 MB now) these
files are way below the threshold leading to compound file creation and thus
increase in file sizes. The increase is minimal (4 bytes for me below the
original threshold) but enough to fail the tests. Threefore, I have disabled
compound files here.
--
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]