public static WeightedTerm[] GetTerms(Query query, bool prohibited, string fieldName){var terms = new JCG.HashSet<WeightedTerm>();if (fieldName != null){fieldName = fieldName.Intern();}GetTerms(query, terms, prohibited, fieldName);return terms.ToArray();}