Merge pull request #38 from johnkjellberg/highlight2
Add "Highlight" field to "Hit" structure.
This commit is contained in:
commit
8fd7c39685
@ -150,6 +150,7 @@ type Hit struct {
|
|||||||
Id string `json:"_id"`
|
Id string `json:"_id"`
|
||||||
Score float64 `json:"_score"`
|
Score float64 `json:"_score"`
|
||||||
Source map[string]interface{} `json:"_source"`
|
Source map[string]interface{} `json:"_source"`
|
||||||
|
Highlight map[string]interface{} `json:"highlight"`
|
||||||
Fields map[string]interface{} `json:"fields"`
|
Fields map[string]interface{} `json:"fields"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user