hello guys,
please give information about endpoint to make search query with scroll with callWithReqeust.
if (request.payload.scroll_id !== null) {
callWithRequest(request, '**what should be here??? thanks**', {
index: `${config.es.default_index}`,
allowNoIndices: false,
body: {
size: 50,
scroll: '5m',
scroll_id: request.payload.scroll_id
}
}).then((res) => reply(res))
.catch((err) => reply(handleESError(err)));