Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregationResult ¶
type AggregationResult map[string]interface{}
type ElasticsearchHitList ¶
type ElasticsearchHitResult ¶
type ElasticsearchHitResult struct { Total int64 `json:"total"` MaxScore float64 `json:"max_score"` Hits []ElasticsearchHitList `json:"hits"` }
type ElasticsearchResult ¶
type ElasticsearchResult struct { Took int `json:"took"` TimedOut bool `json:"timed_out"` Shards ElasticsearchShardResult `json:"_shards"` Hits ElasticsearchHitResult `json:"hits"` Error string `json:"error"` Status int `json:"status` Aggregations map[string]AggregationResult `json:"aggregations"` }
func (*ElasticsearchResult) GetAggregation ¶
func (result *ElasticsearchResult) GetAggregation(FieldName string)
func (*ElasticsearchResult) SingleValue ¶
func (result *ElasticsearchResult) SingleValue(FieldName string)
func (*ElasticsearchResult) WriteFile ¶
func (result *ElasticsearchResult) WriteFile(FileName string) error
Click to show internal directories.
Click to hide internal directories.