Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lucene/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ Bug Fixes

* GITHUB#14215: Fix degenerate case in HNSW where all vectors have the same score. (Ben Trent)

Changes in Runtime Behavior
---------------------
* GITHUB#14189: Bump floor segment size to 16MB in TieredMergePolicy and
LogByteSizeMergePolicy. (Adrien Grand)

Other
---------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public class LogByteSizeMergePolicy extends LogMergePolicy {

/** Default minimum segment size. @see setMinMergeMB */
public static final double DEFAULT_MIN_MERGE_MB = 1.6;
public static final double DEFAULT_MIN_MERGE_MB = 16;

/**
* Default maximum segment size. A segment of this size or larger will never be merged. @see
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class TieredMergePolicy extends MergePolicy {

private long maxMergedSegmentBytes = 5 * 1024 * 1024 * 1024L;

private long floorSegmentBytes = 2 * 1024 * 1024L;
private long floorSegmentBytes = 16 * 1024 * 1024L;
private double segsPerTier = 10.0;
private double forceMergeDeletesPctAllowed = 10.0;
private double deletesPctAllowed = 20.0;
Expand Down Expand Up @@ -166,7 +166,7 @@ public double getDeletesPctAllowed() {
* </ul>
*
* In both cases, this helps prevent frequent flushing of tiny segments to create a long tail of
* small segments in the index. Default is 2MB.
* small segments in the index. Default is 16MB.
*/
public TieredMergePolicy setFloorSegmentMB(double v) {
if (v <= 0.0) {
Expand Down