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