Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cli.Command{ Name: "replace", Usage: "Replaces the index by another one.", Description: `Removes index and creates an alias to new index same as removed index name. Index swap performs atomically. For more information: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html`, ArgsUsage: "index --by new [--create path/to/body.json]", Category: "Advanced", Action: ctl.NewAction(replace), UseShortOptionHandling: true, Flags: []cli.Flag{ cli.StringFlag{ Name: "by", Required: true, Usage: "Index replace by", }, cli.StringFlag{ Name: "create", Usage: "Index body `FILE`", }, cli.BoolFlag{ Name: "reindex, r", Usage: "Reindex content of replaced index to new one", }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.