Lucene.Net.Search.TestExplanations.Ta C# (CSharp) Method

Ta() public static method

helper for generating MultiPhraseQueries
public static Ta ( string s ) : Term[]
s string
return Term[]
        public static Term[] Ta(string[] s)
        {
            Term[] t = new Term[s.Length];
            for (int i = 0; i < s.Length; i++)
            {
                t[i] = new Term(FIELD, s[i]);
            }
            return t;
        }