forcemerge

package
v1.29.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

type Discovery struct {
	Enabled     bool            `config:"enabled"`
	MinIdleTime string          `config:"min_idle_time"`
	Interval    string          `config:"interval"`
	Rules       []DiscoveryRule `config:"rules"`
}

type DiscoveryRule

type DiscoveryRule struct {
	IndexPattern string   `config:"index_pattern"`
	TimeFields   []string `config:"timestamp_fields"`
}

type ForceMergeModule

type ForceMergeModule struct {
}

func (ForceMergeModule) Name

func (this ForceMergeModule) Name() string

func (ForceMergeModule) Setup

func (module ForceMergeModule) Setup()

func (ForceMergeModule) Start

func (module ForceMergeModule) Start() error

func (ForceMergeModule) Stop

func (module ForceMergeModule) Stop() error

type ForceMergeTaskItem

type ForceMergeTaskItem struct {
	Elasticsearch string
	Index         string
}

type MergeConfig

type MergeConfig struct {
	Enabled         bool      `config:"enabled"`
	Elasticsearch   string    `config:"elasticsearch"`
	Indices         []string  `config:"indices"`
	MinSegmentCount int       `config:"min_num_segments"`
	MaxSegmentCount int       `config:"max_num_segments"`
	Discovery       Discovery `config:"discovery"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL