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