mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 08:14:18 +02:00
@@ -21,7 +21,7 @@ type Ilm struct {
|
||||
|
||||
HotMinAge string
|
||||
HotRolloverMaxAge string
|
||||
HotRolloverMaxPrimaryShardSize int64
|
||||
HotRolloverMaxPrimaryShardSize string
|
||||
HotRolloverMaxDocs int64
|
||||
HotReadonly bool
|
||||
|
||||
@@ -35,7 +35,8 @@ type Ilm struct {
|
||||
ColdForceMerge int
|
||||
ColdPriority int
|
||||
|
||||
FrozenMinAge string
|
||||
FrozenMinAge string
|
||||
FrozenSearchableSnapshotRepo string
|
||||
|
||||
DeleteMinAge string
|
||||
DeleteSearchableSnapshots bool
|
||||
@@ -47,7 +48,7 @@ func (cfg *Ilm) HaveHot() bool {
|
||||
return cfg.HotMinAge != "" ||
|
||||
cfg.HotRolloverMaxAge != "" ||
|
||||
cfg.HotRolloverMaxDocs > 0 ||
|
||||
cfg.HotRolloverMaxPrimaryShardSize > 0 ||
|
||||
cfg.HotRolloverMaxPrimaryShardSize != "" ||
|
||||
cfg.HotReadonly
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user