Improve set deletions pct javadoc

This commit is contained in:
Yuan,Xiao 2023-11-20 14:17:25 -08:00 committed by yugushihuang
parent 3748dd928e
commit 948237b943
1 changed files with 4 additions and 4 deletions

View File

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