Versions in this module Expand all Collapse all v2 v2.0.1 Aug 26, 2023 Changes in this version + type Indexer interface + CloseBulk func() error + CreateIndex func(schema []byte) error + Delete func(id string) error + Index func(id string, content any) error + Info func() (clientVersion string, serverVersion string, err error) + StartBulk func(workers int, flushbytes int, flushtime time.Duration) error + func NewIndexer7(address string, index string, logger *logging.Logger) (Indexer, error) + func NewIndexer8(address string, index string, apikey string, logger *logging.Logger) (Indexer, error) + type Indexer7 struct + func (idx *Indexer7) CloseBulk() error + func (idx *Indexer7) CreateIndex(schema []byte) error + func (idx *Indexer7) Delete(id string) error + func (idx *Indexer7) Index(id string, doc any) error + func (idx *Indexer7) Info() (clientVersion string, serverVersion string, err error) + func (idx *Indexer7) StartBulk(workers int, flushbytes int, flushtime time.Duration) error + type Indexer8 struct + func (idx *Indexer8) CloseBulk() error + func (idx *Indexer8) CreateIndex(schema []byte) error + func (idx *Indexer8) Delete(id string) error + func (idx *Indexer8) Index(id string, doc any) error + func (idx *Indexer8) Info() (clientVersion string, serverVersion string, err error) + func (idx *Indexer8) StartBulk(workers int, flushbytes int, flushtime time.Duration) error Other modules containing this package github.com/je4/elasticdsl