Skip to content

Commit

Permalink
Improve set deletions percentage javadoc (#12828)
Browse files Browse the repository at this point in the history
Co-authored-by: Yuan,Xiao <yuanxxx@amazon.com>
  • Loading branch information
yugushihuang and Yuan,Xiao authored Jan 22, 2025
1 parent a0adeb9 commit c8160b1
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,10 @@ public double getMaxMergedSegmentMB() {
}

/**
* 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
Expand Down

0 comments on commit c8160b1

Please sign in to comment.