elastigo
elastigo copied to clipboard
A Go (golang) based Elasticsearch client library.
Because no function to set timeout, if I write error address of ESCluster, process will block at " r.hostResponse.Mark(err)". func (r *Request) DoResponse(v interface{}) (*http.Response, []byte, error) { var client...
since ES 5.3, every request without content-type header triggers a warning. Content type detection for rest requests is deprecated. Specify the content type using the [Content-Type] header. just look at...
Remove unused dependency to prevent abandoned lyrics/logrus messing with Sirupsen logrus
we are seeing lots of: ```[WARN][RestController ] Content type detection for rest requests is deprecated. Specify the content type using the [Content-Type] header.``` from elasticsearch. it is probably a general...
Is it possible to have a BulkIndexer send gzipped bodies? Elastic looks like it will accept gzip and it would really really help my bandwidth issues :)
this PR adds the ability to specify parent and routing options during bulk indexing
The field `ShardStatus` of [`SearchResult`](https://github.com/mattbaird/elastigo/blob/master/lib/coresearch.go#L175) contains the field [`Failure`](https://github.com/mattbaird/elastigo/blob/34c4c4d8425cbdcbc8e257943a2044d5e9f7dab5/lib/baseresponse.go#L94) which is defined as follows: ```golang type Failure struct { Index string `json:"index"` Shard StatusInt `json:"shard"` Reason string `json:"reason"` } ```...
ElasticSearch 5.1.1 returns index info in a JSON struct, rather than a newline delimited set of fields, in response to the query in Conn.GetCatIndexInfo(). Add GetCatIndexInfoEs5(), which parses the JSON,...