@@ -300,13 +300,15 @@ type BulkResponse struct {
300
300
301
301
// BulkResponseItem is the result of a single bulk request.
302
302
type BulkResponseItem struct {
303
- Index string `json:"_index,omitempty"`
304
- Type string `json:"_type,omitempty"`
305
- Id string `json:"_id,omitempty"`
306
- Version int64 `json:"_version,omitempty"`
307
- Status int `json:"status,omitempty"`
308
- Found bool `json:"found,omitempty"`
309
- Error * ErrorDetails `json:"error,omitempty"`
303
+ Index string `json:"_index,omitempty"`
304
+ Type string `json:"_type,omitempty"`
305
+ Id string `json:"_id,omitempty"`
306
+ Version int64 `json:"_version,omitempty"`
307
+ Status int `json:"status,omitempty"`
308
+ Result string `json:"result,omitempty"`
309
+ ForcedRefresh bool `json:"forced_refresh,omitempty"`
310
+ Found bool `json:"found,omitempty"`
311
+ Error * ErrorDetails `json:"error,omitempty"`
310
312
}
311
313
312
314
// Indexed returns all bulk request results of "index" actions.
0 commit comments