elastic-adapter icon indicating copy to clipboard operation
elastic-adapter copied to clipboard

Add scroll feature

Open ciungulete opened this issue 2 years ago • 1 comments

ciungulete avatar Apr 15 '24 18:04 ciungulete

Hey @ciungulete, thank you for the PR! Is there a particular reason why you want to use scroll search instead of search after? According to the documentation, it is not recommended and that was the reason why it was not implemented in the first place:

We no longer recommend using the scroll API for deep pagination. If you need to preserve the index state while paging through more than 10,000 hits, use the search_after parameter with a point in time (PIT).

Have you tried using search after? The library already supports it.

babenkoivan avatar May 10 '24 06:05 babenkoivan

This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jun 10 '24 00:06 github-actions[bot]