Skip to content

Commit f58e5d3

Browse files
committed
rename query param to selector
1 parent 83c4f87 commit f58e5d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nest/Search/Search/SearchRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public SearchDescriptor<T> Query(Func<QueryContainerDescriptor<T>, QueryContaine
407407
/// <summary>
408408
/// For scroll queries that return a lot of documents it is possible to split the scroll in multiple slices which can be consumed independently
409409
/// </summary>
410-
public SearchDescriptor<T> Slice(Func<SlicedScrollDescriptor<T>, ISlicedScroll> query) =>
410+
public SearchDescriptor<T> Slice(Func<SlicedScrollDescriptor<T>, ISlicedScroll> selector) =>
411411
Assign(a => a.Slice = query?.Invoke(new SlicedScrollDescriptor<T>()));
412412

413413
/// <summary>

0 commit comments

Comments
 (0)