Adrien Grand created LUCENE-10573:
-------------------------------------

             Summary: Improve stored fields bulk merge for degenerate O(n^2) 
merges
                 Key: LUCENE-10573
                 URL: https://issues.apache.org/jira/browse/LUCENE-10573
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand


Spin-off from LUCENE-10556.

For small merges that are below the floor segment size, TieredMergePolicy may 
merge segments that have vastly different sizes, e.g. one 10k-docs segment with 
9 100-docs segments. 

While we might be able to improve TieredMergePolicy (LUCENE-10569), there are 
also improvements we could make to stored fields, such as bulk-copying chunks 
of the first segment until the first dirty chunk. In this scenario where 
segments keep being rewritten, this would help significantly.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to