Add "Highlight" field to "Hit" structure.

This commit is contained in:
John Kjellberg 2015-09-28 13:15:18 +02:00
parent 5d24537714
commit 0963f937ac

View File

@ -150,6 +150,7 @@ type Hit struct {
Id string `json:"_id"`
Score float64 `json:"_score"`
Source map[string]interface{} `json:"_source"`
Highlight map[string]interface{} `json:"highlight"`
Fields map[string]interface{} `json:"fields"`
}