Skip to content

Commit 2128d05

Browse files
committed
correct XML comments
1 parent 9072a9d commit 2128d05

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/Nest/QueryDsl/Compound/Bool/BoolQuery.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,49 +100,49 @@ public BoolQueryDescriptor<T> Must(IEnumerable<Func<QueryContainerDescriptor<T>,
100100
public BoolQueryDescriptor<T> Must(params QueryContainer[] queries) => Assign(a => a.Must = queries.Where(q => !q.IsNullOrConditionless()).ToListOrNullIfEmpty());
101101

102102
/// <summary>
103-
/// The clause (query) should appear in the matching document. A boolean query with no must clauses, one or more should clauses must match a document.
104-
/// The minimum number of should clauses to match can be set using minimum_should_match parameter.
103+
/// The clause (query) must not appear in the matching documents. Note that it is not possible to search on documents that only consists of a must_not clauses.
105104
/// </summary>
106105
/// <param name="queries"></param>
107106
/// <returns></returns>
108107
public BoolQueryDescriptor<T> MustNot(params Func<QueryContainerDescriptor<T>, QueryContainer>[] queries) =>
109108
Assign(a => a.MustNot = queries.Select(q => q?.InvokeQuery(new QueryContainerDescriptor<T>())).Where(q => !q.IsNullOrConditionless()).ToListOrNullIfEmpty());
110109

111110
/// <summary>
112-
/// The clause (query) should appear in the matching document. A boolean query with no must clauses, one or more should clauses must match a document.
113-
/// The minimum number of should clauses to match can be set using minimum_should_match parameter.
111+
/// The clause (query) must not appear in the matching documents. Note that it is not possible to search on documents that only consists of a must_not clauses.
114112
/// </summary>
115113
/// <param name="queries"></param>
116114
/// <returns></returns>
117115
public BoolQueryDescriptor<T> MustNot(IEnumerable<Func<QueryContainerDescriptor<T>, QueryContainer>> queries) =>
118116
Assign(a => a.MustNot = queries.Select(q => q?.InvokeQuery(new QueryContainerDescriptor<T>())).Where(q => !q.IsNullOrConditionless()).ToListOrNullIfEmpty());
119117

120118
/// <summary>
121-
/// The clause (query) should appear in the matching document. A boolean query with no must clauses, one or more should clauses must match a document.
122-
/// The minimum number of should clauses to match can be set using minimum_should_match parameter.
119+
/// The clause (query) must not appear in the matching documents. Note that it is not possible to search on documents that only consists of a must_not clauses.
123120
/// </summary>
124121
/// <param name="queries"></param>
125122
/// <returns></returns>
126123
public BoolQueryDescriptor<T> MustNot(params QueryContainer[] queries) => Assign(a => a.MustNot = queries.Where(q => !q.IsNullOrConditionless()).ToListOrNullIfEmpty());
127124

128125
/// <summary>
129-
/// The clause (query) must not appear in the matching documents. Note that it is not possible to search on documents that only consists of a must_not clauses.
126+
/// The clause (query) should appear in the matching document. A boolean query with no must clauses, one or more should clauses must match a document.
127+
/// The minimum number of should clauses to match can be set using minimum_should_match parameter.
130128
/// </summary>
131129
/// <param name="queries"></param>
132130
/// <returns></returns>
133131
public BoolQueryDescriptor<T> Should(params Func<QueryContainerDescriptor<T>, QueryContainer>[] queries) =>
134132
Assign(a => a.Should = queries.Select(q => q?.InvokeQuery(new QueryContainerDescriptor<T>())).Where(q => !q.IsNullOrConditionless()).ToListOrNullIfEmpty());
135133

136134
/// <summary>
137-
/// The clause (query) must not appear in the matching documents. Note that it is not possible to search on documents that only consists of a must_not clauses.
135+
/// The clause (query) should appear in the matching document. A boolean query with no must clauses, one or more should clauses must match a document.
136+
/// The minimum number of should clauses to match can be set using minimum_should_match parameter.
138137
/// </summary>
139138
/// <param name="queries"></param>
140139
/// <returns></returns>
141140
public BoolQueryDescriptor<T> Should(IEnumerable<Func<QueryContainerDescriptor<T>, QueryContainer>> queries) =>
142141
Assign(a => a.Should = queries.Select(q => q?.InvokeQuery(new QueryContainerDescriptor<T>())).Where(q => !q.IsNullOrConditionless()).ToListOrNullIfEmpty());
143142

144143
/// <summary>
145-
/// The clause (query) must not appear in the matching documents. Note that it is not possible to search on documents that only consists of a must_not clauses.
144+
/// The clause (query) should appear in the matching document. A boolean query with no must clauses, one or more should clauses must match a document.
145+
/// The minimum number of should clauses to match can be set using minimum_should_match parameter.
146146
/// </summary>
147147
/// <param name="queries"></param>
148148
/// <returns></returns>

0 commit comments

Comments
 (0)