Skip to content

Commit

Permalink
Add basic facet support in responses
Browse files Browse the repository at this point in the history
  • Loading branch information
oleewere committed Apr 25, 2019
1 parent 620834d commit 455cc8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions solr/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ type SolrClient struct {
type SolrResponseData struct {
ResponseHeader SolrResponseHeader `json:"responseHeader"`
Response SolrResponse `json:"response"`
FacetCounts map[string]interface{} `json:"facet_counts,omitempty"`
Highlighting map[string]interface{} `json:"highlighting,omitempty"`
}

Expand Down

0 comments on commit 455cc8c

Please sign in to comment.