Skip to content

Commit c9d8b73

Browse files
lcawlrusscam
authored andcommitted
[DOCS] Fixes broken link to sliced scroll (#4921)
(cherry picked from commit 945ce5e)
1 parent a124386 commit c9d8b73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/search/scrolling-documents.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ scrollAllObservable.Wait(TimeSpan.FromMinutes(10), response => <3>
7373
ProcessResponse(response.SearchResponse); <4>
7474
});
7575
----
76-
<1> See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#sliced-scroll[sliced scroll] documentation for choosing an appropriate number of slices.
76+
<1> See https://www.elastic.co/guide/en/elasticsearch/reference/current/paginate-search-results.html[sliced scroll] documentation for choosing an appropriate number of slices.
7777
<2> Number of concurrent sliced scroll requests. Usually want to set this to the same value as the number of slices
7878
<3> Total overall time for scrolling **all** documents. Ensure this is a sufficient value to scroll all documents
7979
<4> do something with the response

tests/Tests/Search/ScrollingDocuments.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void SimpleUse()
6464
[I]
6565
public void SimpleScrollAllObservable()
6666
{
67-
int numberOfSlices = Environment.ProcessorCount; // <1> See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#sliced-scroll[sliced scroll] documentation for choosing an appropriate number of slices.
67+
int numberOfSlices = Environment.ProcessorCount; // <1> See https://www.elastic.co/guide/en/elasticsearch/reference/current/paginate-search-results.html[sliced scroll] documentation for choosing an appropriate number of slices.
6868

6969
var scrollAllObservable = Client.ScrollAll<Project>("10s", numberOfSlices, sc => sc
7070
.MaxDegreeOfParallelism(numberOfSlices) // <2> Number of concurrent sliced scroll requests. Usually want to set this to the same value as the number of slices

0 commit comments

Comments
 (0)