Sliced Scroll Search Usageedit

Object Initializer Syntax Exampleedit

new SearchRequest<Project>()
{
    Scroll = "1m",
    Slice = new SlicedScroll {  Id = 0, Max = 5 }
}

Example json output. 

{
  "slice": {
    "id": 0,
    "max": 5
  }
}

Fluent DSL Exampleedit

s => s
.Scroll("1m")
.Slice(ss=>ss.Id(0).Max(5))