Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UseDataDir ¶
UseDataDir specify data directory to be used by balasticsearch
Types ¶
type IIndex ¶
type IIndex interface { Get() (map[string]Info, error) Create() error UpdateAlias(string, string) error }
IIndex interface for index
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index is the entry point for all index operation like creating, deleting and updating alias
func New ¶
func New(indexRegistry *registry.IndexRegistry, options ...func(*Index)) (I *Index, err error)
New initialize new instance of index api
Click to show internal directories.
Click to hide internal directories.