Skip to content

Commit 154e5b3

Browse files
committed
Correct documentation
Fixes #1905
1 parent 7457236 commit 154e5b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Nest/DSL/Query/QueryDescriptor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,12 +446,12 @@ public QueryContainer HasChild<K>(Action<HasChildQueryDescriptor<K>> selector) w
446446

447447
return this.New(query, q => q.HasChild = query);
448448
}
449-
449+
450450
/// <summary>
451-
/// The has_child query works the same as the has_child filter, by automatically wrapping the filter with a
451+
/// The has_parent query works the same as the has_parent filter, by automatically wrapping the filter with a
452452
/// constant_score.
453453
/// </summary>
454-
/// <typeparam name="K">Type of the child</typeparam>
454+
/// <typeparam name="K">Type of the parent</typeparam>
455455
public QueryContainer HasParent<K>(Action<HasParentQueryDescriptor<K>> selector) where K : class
456456
{
457457
var query = new HasParentQueryDescriptor<K>();

0 commit comments

Comments
 (0)