add explain index allocation

This commit is contained in:
T. von Dein
2026-05-18 13:58:08 +02:00
parent db50072a7b
commit 40e0612bef
6 changed files with 83 additions and 5 deletions

View File

@@ -47,8 +47,9 @@ type Config struct {
DefaultCluster *Cluster
Index string // index: -i
Failed, Partials bool // index: flags
Shards, Replicas int // index create: -s -r
Shards, Replicas int // index create+allocation: -s -r
Wait bool // index create: -w
Primary bool // index allocation: -p
From, To, MaxItems int // search: flags
Filter []string // search: -F
Exclude string // cluster compare: -e (regexp)