Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { GetWriteIndex(m *metric.Metric) (string, bool) GetWriteFixedIndex(m *metric.Metric) string CreateIndex(m *metric.Metric) error CleanIndices(ctx context.Context, filter IndexMatcher) error // 清理匹配且过期的索引数据 RolloverIndices(ctx context.Context, filter IndexMatcher) error // 滚动匹配的索引 MergeIndices(ctx context.Context, filter IndexMatcher, min string, merge, delete bool) ([]*MergeGroup, interface{}, error) // 合并匹配的索引 IndexType() string IndexPrefix() string RequestTimeout() time.Duration Client() *elastic.Client EnableRollover() bool }
Interface .
type MergeGroup ¶
type MergeGroup struct { List []*indexloader.IndexEntry Indices string MergedSize string MergedDocs int MergedIndex string // contains filtered or unexported fields }
MergeGroup .
Click to show internal directories.
Click to hide internal directories.