use terms instead of fields as variable name to avoid confusion: NewPhraseQuery(terms []string, field string)