func NewCompletionSuggester(name string) *CompletionSuggester {
	return &CompletionSuggester{
		name:           name,
		contextQueries: make([]SuggesterContextQuery, 0),
	}
}
Creates a new completion suggester.
package elastic
import "errors"
type CompletionSuggester struct {
	Suggester
	name           string
	text           string
	field          string
	analyzer       string
	size           *int
	shardSize      *int
	contextQueries []SuggesterContextQuery
}