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