added description for aggregation and bucket types
This commit is contained in:
parent
bee90498ec
commit
d384dd00bd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user