Example #1
0
func (parser *TestResultParser) ParseHighlighting(response *solr.SelectResponse, sr *solr.SolrResult) {
	if highlighting, ok := response.Response["highlighting"]; ok {
		sr.Highlighting = highlighting.(map[string]interface{})
	}
}