private static PhraseQuery MakePhraseQuery(string terms) { PhraseQuery query = new PhraseQuery(); string[] t = terms.Split(" +".ToCharArray()); for (int i = 0; i < t.Length; i++) { query.Add(new Term("f", t[i])); } return query; }