text: public static Query Parse(string[] queries, string[] fields, Analyzer analyzer){if (queries.Length != fields.Length)throw new ArgumentException("queries.length != fields.length");BooleanQuery bQuery = new BooleanQuery();StandardQueryParser qp = new StandardQueryParser();qp.Analyzer = analyzer;for (int i = 0; i < fields.Length; i++){Query q = qp.Parse(queries[i], fields[i]);if (q != null && (!(q is BooleanQuery) || ((BooleanQuery)q).Clauses.Count > 0)){bQuery.Add(q, Occur.SHOULD);}}return bQuery;}