lucene
lucene copied to clipboard
Switching to a fixed CFS threshold
Problem
Lucene uses CFS ratio (which is by default 10%) to determine whether to use Compound Files.
Solution
In this PR we are doing the following:
-
Switching from a CFS ratio to a fixed threshold which is:
- 64MB for byte-size-based merge policies
- 65,536 docs for doc-based merge policies
-
Moved CFS configuration to CompoundFormat.java from Merge policies.
Fixes #14959
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution!
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution!