在 elastic4s 中滚动期间是否启用了 `scan` 参数?

Is `scan` parameter enabled during scroll in elastic4s?

Here (at the end of table) example about using scrolls in elastic4s but I can not see any API to set scan参数。它是默认启用的还是应该与某些挂钩一起使用?

顺便说一下

或者 scan 参数在 elasticsearch scrolling 期间默认启用?

您在初始搜索时设置了 scan 参数,因此:

client.execute {
  search in "index" / "type" query <somequery> searchType SearchType.Scan scroll "1m"
}

然后

client.execute {
  search scroll <id> keepAlive "1m"
}

(取自 1.5.x elastic4s 版本)