es_optimize

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) DoV6

func (this CacheClear) DoV6(client *elasticV6.Client) (err error)

func (CacheClear) DoV7

func (this CacheClear) DoV7(client *elasticV7.Client) (err error)

func (*CacheClear) SetIndexName

func (this *CacheClear) SetIndexName(indexName string)

type Close

type Close struct {
	// contains filtered or unexported fields
}

关闭索引

func (*Close) DoV6

func (this *Close) DoV6(client *elasticV6.Client) (err error)

func (*Close) DoV7

func (this *Close) DoV7(client *elasticV7.Client) (err error)

func (*Close) SetIndexName

func (this *Close) SetIndexName(indexName string)

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

关闭索引

func (*Empty) DoV6

func (this *Empty) DoV6(client *elasticV6.Client) (err error)

func (*Empty) DoV7

func (this *Empty) DoV7(client *elasticV7.Client) (err error)

func (*Empty) SetIndexName

func (this *Empty) SetIndexName(indexName string)

type Flush

type Flush struct {
	// contains filtered or unexported fields
}

Flush

func (Flush) DoV6

func (this Flush) DoV6(client *elasticV6.Client) (err error)

func (Flush) DoV7

func (this Flush) DoV7(client *elasticV7.Client) (err error)

func (*Flush) SetIndexName

func (this *Flush) SetIndexName(indexName string)

type Forcemerge

type Forcemerge struct {
	// contains filtered or unexported fields
}

合并索引

func (*Forcemerge) DoV6

func (this *Forcemerge) DoV6(client *elasticV6.Client) (err error)

func (*Forcemerge) DoV7

func (this *Forcemerge) DoV7(client *elasticV7.Client) (err error)

func (*Forcemerge) SetIndexName

func (this *Forcemerge) SetIndexName(indexName string)

type Open

type Open struct {
	// contains filtered or unexported fields
}

开启索引

func (*Open) DoV6

func (this *Open) DoV6(client *elasticV6.Client) (err error)

func (*Open) DoV7

func (this *Open) DoV7(client *elasticV7.Client) (err error)

func (*Open) SetIndexName

func (this *Open) SetIndexName(indexName string)

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) DoV6

func (this Refresh) DoV6(client *elasticV6.Client) (err error)

func (Refresh) DoV7

func (this Refresh) DoV7(client *elasticV7.Client) (err error)

func (*Refresh) SetIndexName

func (this *Refresh) SetIndexName(indexName string)

Jump to

Keyboard shortcuts

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