Documentation ¶
Overview ¶
索引基本操作层
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheClear ¶
type CacheClear struct {
// contains filtered or unexported fields
}
清除缓存
func (*CacheClear) SetIndexName ¶
func (this *CacheClear) SetIndexName(indexName string)
type Close ¶
type Close struct {
// contains filtered or unexported fields
}
关闭索引
func (*Close) SetIndexName ¶
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
关闭索引
func (*Empty) SetIndexName ¶
type Flush ¶
type Flush struct {
// contains filtered or unexported fields
}
Flush
func (*Flush) SetIndexName ¶
type Forcemerge ¶
type Forcemerge struct {
// contains filtered or unexported fields
}
合并索引
func (*Forcemerge) SetIndexName ¶
func (this *Forcemerge) SetIndexName(indexName string)
type Open ¶
type Open struct {
// contains filtered or unexported fields
}
开启索引
func (*Open) SetIndexName ¶
type OptimizeInterface ¶
type OptimizeInterface interface { SetIndexName(indexName string) DoV6(client *elasticV6.Client) (err error) DoV7(client *elasticV7.Client) (err error) }
func OptimizeFactory ¶
func OptimizeFactory(command string) OptimizeInterface
type Refresh ¶
type Refresh struct {
// contains filtered or unexported fields
}
刷新索引
func (*Refresh) SetIndexName ¶
Click to show internal directories.
Click to hide internal directories.