public static Query MakeQuery(string q, OwnersResult owners) { var queryParser = new NuGetQueryParser(); var grouping = queryParser.ParseQuery(q); if (grouping.Count == 0) { return new MatchAllDocsQuery(); } return ConstructQuery(grouping, owners); }
public static Query MakeQuery(string q, OwnersResult owners) { var queryParser = new NuGetQueryParser(); var grouping = queryParser.ParseQuery(q); if (grouping.Count == 0) { return(new MatchAllDocsQuery()); } return(ConstructQuery(grouping, owners)); }