diff options
Diffstat (limited to 'vendor/gopkg.in/olivere/elastic.v5/delete.go')
-rw-r--r-- | vendor/gopkg.in/olivere/elastic.v5/delete.go | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/vendor/gopkg.in/olivere/elastic.v5/delete.go b/vendor/gopkg.in/olivere/elastic.v5/delete.go index a0ab550c1..991338715 100644 --- a/vendor/gopkg.in/olivere/elastic.v5/delete.go +++ b/vendor/gopkg.in/olivere/elastic.v5/delete.go @@ -199,10 +199,12 @@ func (s *DeleteService) Do(ctx context.Context) (*DeleteResponse, error) { // DeleteResponse is the outcome of running DeleteService.Do. type DeleteResponse struct { - // TODO _shards { total, failed, successful } - Found bool `json:"found"` - Index string `json:"_index"` - Type string `json:"_type"` - Id string `json:"_id"` - Version int64 `json:"_version"` + Index string `json:"_index"` + Type string `json:"_type"` + Id string `json:"_id"` + Version int64 `json:"_version"` + Shards *shardsInfo `json:"_shards"` + Result bool `json:"string,omitempty"` + ForcedRefresh bool `json:"forced_refresh,omitempty"` + Found bool `json:"found"` } |