You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "kkewwei (Jira)" <ji...@apache.org> on 2021/06/15 04:48:00 UTC

[jira] [Created] (LUCENE-10004) Delete unnecessary flush in Lucene90CompressingStoredFieldsWriter.copyChunks() to reduce dirty chunks

kkewwei created LUCENE-10004:
--------------------------------

             Summary: Delete unnecessary flush in Lucene90CompressingStoredFieldsWriter.copyChunks() to reduce dirty chunks
                 Key: LUCENE-10004
                 URL: https://issues.apache.org/jira/browse/LUCENE-10004
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/codecs
    Affects Versions: 8.8.2
            Reporter: kkewwei


In Lucene90CompressingStoredFieldsWriter.merge(), if sub.mergeStrategy == MergeStrategy.BULK, we will choose the copyChunks() to copy the the chunk to the new fdt, before copying the chunk, we will flush the buffer docs if numBufferedDocs >0 in copyChunks, but the flush is unnecessary.





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org