/// <summary> /// Query documents with any of the specified node type aliases /// </summary> public static INestedBooleanOperation NodeTypeAlias(this INestedQuery query, string[] aliases) { return(query.GroupedOr(new[] { "__NodeTypeAlias" }, aliases)); }
/// <summary> /// Query documents with any of the specified fields and culture /// </summary> public static INestedBooleanOperation GroupedOr(this INestedQuery query, IEnumerable <string> fields, string fieldCulture, params IExamineValue[] fieldValues) { var culturedFields = fields.Select(x => GetFieldName(x, fieldCulture)); return(query.GroupedOr(culturedFields, fieldValues)); }