Improve set deletions percentage javadoc

This commit is contained in:
yugushihuang 2023-11-24 14:10:44 -08:00
commit 5edc9d0674
1 changed files with 4 additions and 3 deletions

View File

@ -150,9 +150,10 @@ public class TieredMergePolicy extends MergePolicy {
}
/**
* Controls the maximum percentage of deleted documents that is tolerated in the index. Lower
* values make the index more space efficient at the expense of increased CPU and I/O activity.
* Values must be between 5 and 50. Default value is 20.
* Sets the maximum percentage of doc id space taken by deleted docs. The denominator includes
* both active and deleted documents. Lower values make the index more space efficient at the
* expense of increased CPU and I/O activity. Values must be between 5 and 50. Default value is
* 20.
*
* <p>When the maximum delete percentage is lowered, the indexing thread will call for merges more
* often, meaning that write amplification factor will be increased. Write amplification factor