mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 04:54:18 +02:00
add index template {ls,sh} (#33)
This commit is contained in:
@@ -41,8 +41,11 @@ func Index(conf *cfg.Config) *cli.Command {
|
||||
IndexClose(conf),
|
||||
IndexAllocation(conf),
|
||||
IndexModify(conf),
|
||||
IndexAlias(conf),
|
||||
IndexFields(conf),
|
||||
|
||||
// sub commands
|
||||
IndexAlias(conf),
|
||||
IndexTemplate(conf),
|
||||
},
|
||||
}
|
||||
}
|
||||
@@ -165,6 +168,7 @@ Valid field mapping types: integer, text, date, keyword`,
|
||||
Usage: "number of replicas to create",
|
||||
Destination: &conf.Replicas,
|
||||
Aliases: []string{"r"},
|
||||
Value: 1,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -240,6 +244,7 @@ func IndexModify(conf *cfg.Config) *cli.Command {
|
||||
Usage: "number of replicas",
|
||||
Destination: &conf.Replicas,
|
||||
Aliases: []string{"r"},
|
||||
Value: 1,
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user