浏览代码

added description for aggregation and bucket types

tags/v1.0.0
Ian Babrou 10 年前
父节点
当前提交
d384dd00bd
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      structs.go

+ 2
- 0
structs.go 查看文件

@@ -84,8 +84,10 @@ type Response struct {
Aggregations map[string]Aggregation `json:"aggregations,omitempty"`
}

// Represents an aggregation from response
type Aggregation map[string]interface{}

// Represents a bucket for aggregation
type Bucket map[string]interface{}

// Represents a document to send to elasticsearch


正在加载...
取消
保存