2020-02-12 23:06:17 -07: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-15 23:06:27 -06:00
|
|
|
// whether the operation is acknowledged or not.
|
2020-02-12 23:06:17 -07:00
|
|
|
type AcknowledgedResponse struct {
|
|
|
|
Acknowledged bool `json:"acknowledged"`
|
|
|
|
ShardsAcknowledged bool `json:"shards_acknowledged"`
|
|
|
|
Index string `json:"index,omitempty"`
|
|
|
|
}
|