func NewDisMaxQuery() *DisMaxQuery {
	return &DisMaxQuery{
		queries: make([]Query, 0),
	}
}
NewDisMaxQuery creates and initializes a new dis max query.
package elastic
type DisMaxQuery struct {
	queries    []Query
	boost      *float64
	tieBreaker *float64
	queryName  string
}