Skip to content

Commit 8811e82

Browse files
committed
Merge pull request #1615 from samlbest/samlbest-patch-1
Fix mixed up doc comments
2 parents e159148 + da8c81e commit 8811e82

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

Diff for: src/Nest/DSL/Query/BoolQueryDescriptor.cs

+7-8
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,8 @@ public BoolQueryDescriptor<T> DisableCoord()
100100
}
101101

102102
/// <summary>
103-
///
103+
/// Specifies the name of the query.
104104
/// </summary>
105-
/// <param name="minimumShouldMatches"></param>
106105
/// <returns></returns>
107106
public BoolQueryDescriptor<T> Name(string name)
108107
{
@@ -177,8 +176,7 @@ public BoolQueryDescriptor<T> Must(params QueryContainer[] queries)
177176
}
178177

179178
/// <summary>
180-
/// 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.
181-
/// The minimum number of should clauses to match can be set using minimum_should_match parameter.
179+
/// 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.
182180
/// </summary>
183181
/// <param name="queries"></param>
184182
/// <returns></returns>
@@ -198,8 +196,7 @@ public BoolQueryDescriptor<T> MustNot(params Func<QueryDescriptor<T>, QueryConta
198196
}
199197

200198
/// <summary>
201-
/// 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.
202-
/// The minimum number of should clauses to match can be set using minimum_should_match parameter.
199+
/// 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.
203200
/// </summary>
204201
/// <param name="queries"></param>
205202
/// <returns></returns>
@@ -217,7 +214,8 @@ public BoolQueryDescriptor<T> MustNot(params QueryContainer[] queries)
217214
}
218215

219216
/// <summary>
220-
/// 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.
217+
/// 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.
218+
/// The minimum number of should clauses to match can be set using minimum_should_match parameter.
221219
/// </summary>
222220
/// <param name="queries"></param>
223221
/// <returns></returns>
@@ -237,7 +235,8 @@ public BoolQueryDescriptor<T> Should(params Func<QueryDescriptor<T>, QueryContai
237235
}
238236

239237
/// <summary>
240-
/// 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.
238+
/// 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.
239+
/// The minimum number of should clauses to match can be set using minimum_should_match parameter.
241240
/// </summary>
242241
/// <param name="queries"></param>
243242
/// <returns></returns>

0 commit comments

Comments
 (0)