Uses of Class org.apache.lucene.index.TemporalMergePolicy (Lucene 10.5.0 core API)
Description: use: package: org.apache.lucene.index, class: TemporalMergePolicy

# Uses of Class
org.apache.lucene.index.TemporalMergePolicy

Packages that use TemporalMergePolicy
Package
Description
org.apache.lucene.index
Code to maintain and access indices.

- ## Uses of TemporalMergePolicy in org.apache.lucene.index

  Methods in org.apache.lucene.index that return TemporalMergePolicy
  Modifier and Type
  Method
  Description
  `TemporalMergePolicy`
  TemporalMergePolicy.`disableExponentialBuckets()`
  Disables exponentially growing time windows.
  `TemporalMergePolicy`
  TemporalMergePolicy.`setBaseTimeInSeconds(long baseTimeInSeconds)`
  Sets the base time window size in seconds.
  `TemporalMergePolicy`
  TemporalMergePolicy.`setCompactionRatio(double compactionRatio)`
  Sets the compaction ratio that controls when merges are triggered based on segment size distribution.
  `TemporalMergePolicy`
  TemporalMergePolicy.`setForceMergeDeletesPctAllowed(double pct)`
  When `IndexWriter.forceMergeDeletes()` is called, only merge segments whose delete percentage exceeds this threshold.
  `TemporalMergePolicy`
  TemporalMergePolicy.`setMaxAgeSeconds(long maxAgeSeconds)`
  Sets the maximum age threshold for merging segments.
  `TemporalMergePolicy`
  TemporalMergePolicy.`setMaxThreshold(int maxThreshold)`
  Sets the maximum number of segments to merge at once within a time window.
  `TemporalMergePolicy`
  TemporalMergePolicy.`setMaxWindowSizeSeconds(long maxWindowSizeSeconds)`
  Sets the maximum size for exponentially growing time windows.
  `TemporalMergePolicy`
  TemporalMergePolicy.`setMinThreshold(int minThreshold)`
  Sets the minimum number of segments required in a time window to trigger a merge.
  `TemporalMergePolicy`
  TemporalMergePolicy.`setTemporalField(String temporalField)`
  Sets the name of the timestamp field used for temporal bucketing.