private GetTermArrays ( ) : System.Collections.Generic.IList |
||
리턴 | System.Collections.Generic.IList |
private static void VisitQuery(MultiPhraseQuery query, AzureQueryLogger.IndentedTextWriter writer) { writer.WriteLine("Slop: {0}", (object)query.Slop); foreach (Term[] termArray in (IEnumerable<Term[]>)query.GetTermArrays()) { writer.WriteLine("array"); ++writer.Indent; foreach (Term term in termArray) AzureQueryLogger.VisitTerm(term, writer); --writer.Indent; } }
protected virtual MultiPhraseQuery VisitMultiPhraseQuery(MultiPhraseQuery m) { var qry = new MultiPhraseQuery(); foreach (var tarray in m.GetTermArrays()) { qry.Add(tarray.Select(t => VisitTerm(t)).ToArray()); } return qry; }