msokolov commented on code in PR #14893: URL: https://github.com/apache/lucene/pull/14893#discussion_r2182703723
########## lucene/core/src/java/org/apache/lucene/index/TieredMergePolicy.java: ########## @@ -139,9 +139,9 @@ public double getMaxMergedSegmentMB() { * amplification factor will lead to higher CPU and I/O activity as indicated above. */ public TieredMergePolicy setDeletesPctAllowed(double v) { - if (v < 5 || v > 50) { + if (v <= 0 || v > 50) { Review Comment: I like that we still enforce > 0. It makes it more apparent that you are approaching a singular pathological case as you go to 0.001 or whatever -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org