lucene-solr
lucene-solr copied to clipboard
LUCENE-9414 EagerCheapMergePolicy
https://issues.apache.org/jira/browse/LUCENE-8962 (contributed by Salesforce)
See early comment: // Extends TieredMergePolicy for convenience but we could adjust to delegate or modify TieredMergePolicy
The setCheapLimitConcurrentMergeSegments limit was simply a precautionary addition given that I knew these cheap merges would up the write amplification and so I wanted to counter-act it in ways. Basically, I wanted this MP to not be "dangerous".