func (q *RangeQuery) To(to interface{}) *RangeQuery {
	q.to = to
	return q
}
To indicates the to part of the RangeQuery.
Use nil to indicate an unbounded to part.
package elastic
type RangeQuery struct {
	name         string
	from         interface{}
	to           interface{}
	timeZone     string
	includeLower bool
	includeUpper bool
	boost        *float64
	queryName    string
	format       string
}
func NewRangeQuery(name string) *RangeQuery {
	return &RangeQuery{name: name, includeLower: true, includeUpper: true}
}
func (q *RangeQuery) From(from interface{}) *RangeQuery {
	q.from = from
	return q
}
func (q *RangeQuery) Gt(from interface{}) *RangeQuery {
	q.from = from
	q.includeLower = false
	return q
}
func (q *RangeQuery) Gte(from interface{}) *RangeQuery {
	q.from = from
	q.includeLower = true
	return q
}