// NewNameTypeMap creates a new NameTypeMap with the given custom search attributes.
func NewNameTypeMap(customSearchAttributes map[string]enumspb.IndexedValueType) NameTypeMap {
name_type_map.go
return NameTypeMap{
systemSearchAttributes: system,
predefinedSearchAttributes: predefined,
customSearchAttributes: customSearchAttributes,
}
}
// WithSystemSearchAttributes returns a new NameTypeMap overriding the system search