func (a *TermsAggregation) Missing(missing interface{}) *TermsAggregation {
	a.missing = missing
	return a
}
Missing configures the value to use when documents miss a value.
package elastic
type TermsAggregation struct {
	field           string
	script          *Script
	missing         interface{}
	subAggregations map[string]Aggregation
	meta            map[string]interface{}
	size                  *int
	shardSize             *int
	requiredSize          *int
	minDocCount           *int
	shardMinDocCount      *int
	valueType             string
	order                 string
	orderAsc              bool
	includePattern        string
	includeFlags          *int
	excludePattern        string
	excludeFlags          *int
	executionHint         string
	collectionMode        string
	showTermDocCountError *bool
	includeTerms          []string
	excludeTerms          []string
}
func NewTermsAggregation() *TermsAggregation {
	return &TermsAggregation{
		subAggregations: make(map[string]Aggregation, 0),
		includeTerms:    make([]string, 0),
		excludeTerms:    make([]string, 0),
	}
}
func (a *TermsAggregation) Field(field string) *TermsAggregation {
	a.field = field
	return a
}
func (a *TermsAggregation) Script(script *Script) *TermsAggregation {
	a.script = script
	return a
}