2020-02-13 00:06:17 -06:00
|
|
|
// Copyright 2012-present Oliver Eilhard. All rights reserved.
|
|
|
|
// Use of this source code is governed by a MIT-license.
|
|
|
|
// See http://olivere.mit-license.org/license.txt for details.
|
|
|
|
|
|
|
|
package elastic
|
|
|
|
|
|
|
|
// AcknowledgedResponse is returned from various APIs. It simply indicates
|
2020-10-16 00:06:27 -05:00
|
|
|
// whether the operation is acknowledged or not.
|
2020-02-13 00:06:17 -06:00
|
|
|
type AcknowledgedResponse struct {
|
|
|
|
Acknowledged bool `json:"acknowledged"`
|
|
|
|
ShardsAcknowledged bool `json:"shards_acknowledged"`
|
|
|
|
Index string `json:"index,omitempty"`
|
|
|
|
}
|