- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for WithDocumentID (0.21 sec)
-
internal/event/target/elasticsearch.go
} var buf bytes.Buffer enc := json.NewEncoder(&buf) err := enc.Encode(doc) if err != nil { return err } res, err := c.Index( index, &buf, c.Index.WithDocumentID(key), c.Index.WithContext(ctx), ) if err != nil { return err } defer xhttp.DrainBody(res.Body) if res.IsError() { return fmt.Errorf("Update err: %s", res.String()) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 15K bytes - Viewed (0)