code: func (q *MultiMatchQuery) Type(typ string) *MultiMatchQuery {
  	var zero = float64(0.0)
  	var one = float64(1.0)
  
  	switch strings.ToLower(typ) {
  	default: // best_fields / boolean
  		q.typ = "best_fields"
  		q.tieBreaker = &zero
  	case "most_fields":
  		q.typ = "most_fields"
  		q.tieBreaker = &one
  	case "cross_fields":
  		q.typ = "cross_fields"
  		q.tieBreaker = &zero
  	case "phrase":
  		q.typ = "phrase"
  		q.tieBreaker = &zero
  	case "phrase_prefix":
  		q.typ = "phrase_prefix"
  		q.tieBreaker = &zero
  	}
  	return q
  }
docs: // Type can be "best_fields", "boolean", "most_fields", "cross_fields",
  // "phrase", or "phrase_prefix".