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