Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ESHit ¶
type ESHit struct { Index string `json:"_index"` Type string `json:"_type"` ID string `json:"_id"` Score interface{} `json:"_score"` // Source Source `json:"_source"` // Custom Source (define as we need) Sort []interface{} `json:"sort"` }
ESHit represent ESHit
type ESHits ¶
type ESHits struct { Total *ESTotal `json:"total"` MaxScore interface{} `json:"max_score"` }
ESHits represent ESHits
type ESIndexSearchResponse ¶
type ESIndexSearchResponse struct { Took int64 `json:"took"` TimedOut bool `json:"timed_out"` Shards *ESShards `json:"_shards"` }
ESIndexSearchResponse represent ESIndexSearchResponse
Click to show internal directories.
Click to hide internal directories.