Pārlūkot izejas kodu

added description for aggregation and bucket types

tags/v1.0.0
Ian Babrou pirms 10 gadiem
vecāks
revīzija
d384dd00bd
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      structs.go

+ 2
- 0
structs.go Parādīt failu

@@ -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


Notiek ielāde…
Atcelt
Saglabāt