diff --git a/main/vendor/github.com/mattbaird/elastigo/lib/clusterreroute.go b/main/vendor/github.com/mattbaird/elastigo/lib/clusterreroute.go index 00c6aa9..4d6cb65 100755 --- a/main/vendor/github.com/mattbaird/elastigo/lib/clusterreroute.go +++ b/main/vendor/github.com/mattbaird/elastigo/lib/clusterreroute.go @@ -25,7 +25,7 @@ func (c *Conn) Reroute(dryRun bool, commands Commands) (ClusterHealthResponse, e var retval ClusterHealthResponse if len(commands.Commands) > 0 { - url = fmt.Sprintf("/_cluster/reroute%s&%s", dryRunOption(dryRun)) + url = fmt.Sprintf("/_cluster/reroute%s&%s", dryRunOption(dryRun), ``) } else { return retval, errors.New("Must pass at least one command") } diff --git a/main/vendor/github.com/mattbaird/elastigo/lib/searchfacet.go b/main/vendor/github.com/mattbaird/elastigo/lib/searchfacet.go index 5eec68b..c59d5f0 100755 --- a/main/vendor/github.com/mattbaird/elastigo/lib/searchfacet.go +++ b/main/vendor/github.com/mattbaird/elastigo/lib/searchfacet.go @@ -53,7 +53,7 @@ func FacetRange(field string) *RangeDsl { type FacetDsl struct { size string Terms map[string]*Term `json:"terms,omitempty"` - Ranges map[string]*RangeDsl `json:"terms,omitempty"` + Ranges map[string]*RangeDsl `json:"ranges,omitempty"` } type RangeDsl struct { diff --git a/main/vendor/github.com/mattbaird/elastigo/lib/searchhighlight.go b/main/vendor/github.com/mattbaird/elastigo/lib/searchhighlight.go index ac74947..e0392ba 100755 --- a/main/vendor/github.com/mattbaird/elastigo/lib/searchhighlight.go +++ b/main/vendor/github.com/mattbaird/elastigo/lib/searchhighlight.go @@ -7,7 +7,7 @@ func NewHighlight() *HighlightDsl { } type HighlightDsl struct { - Settings *HighlightEmbed `-` + Settings *HighlightEmbed TagSchema string `json:"tag_schema,omitempty"` Fields map[string]HighlightEmbed `json:"fields,omitempty"` }