Test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

acknowledged_response.go 512B

12345678910111213
  1. // Copyright 2012-present Oliver Eilhard. All rights reserved.
  2. // Use of this source code is governed by a MIT-license.
  3. // See http://olivere.mit-license.org/license.txt for details.
  4. package elastic
  5. // AcknowledgedResponse is returned from various APIs. It simply indicates
  6. // whether the operation is ack'd or not.
  7. type AcknowledgedResponse struct {
  8. Acknowledged bool `json:"acknowledged"`
  9. ShardsAcknowledged bool `json:"shards_acknowledged"`
  10. Index string `json:"index,omitempty"`
  11. }