add index fields filter flags (#27)

This commit is contained in:
T. von Dein
2026-06-03 10:14:41 +02:00
parent 18af1b6073
commit 5ecba5abe6
3 changed files with 37 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ import (
)
const (
Version string = `v0.0.16`
Version string = `v0.0.17`
)
var (
@@ -59,6 +59,8 @@ type Config struct {
Shards, Replicas int // index create+allocation: -s -r
Wait bool // index create: -w
Primary bool // index allocation: -p
Searchable bool // index fields: -s
Aggretable bool // index fields: -a
From, To, MaxItems int // search: flags
Filter []string // search: -F
Path string // search+doc sh: -p