Sliced Scroll Search Usage
edit
s => s
.Scroll("1m")
.Slice(ss => ss.Id(0).Max(5))
Object Initializer syntax example
edit
new SearchRequest<Project>()
{
Scroll = "1m",
Slice = new SlicedScroll { Id = 0, Max = 5 }
}
Example json output.
{
"slice": {
"id": 0,
"max": 5
}
}