code: func (s *SearchService) Type(typ ...string) *SearchService {
  	s.typ = append(s.typ, typ...)
  	return s
  }
docs: // Type adds search restrictions for a list of types.
  //
  // Deprecated: Types are in the process of being removed. Instead of using a type, prefer to
  // filter on a field on the document.