Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for WithDocumentID (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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())
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15K bytes
    - Click Count (0)
Back to Top