-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replacement for scan helper function that uses search_after #2072
Labels
Comments
Agree that this would be nice to have! I'll raise this as a feature request that all clients can implement for their scan helpers. |
Hello! Are there any work in progress on this issue? I found a ready-made implementation, it may be useful to you - link |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like a helper function to replace
scan
, one that uses thesearch_after
parameter with a point in time (PIT) instead of the scroll API.I use
scan
frequently, but I would like to switch to usingsearch_after
instead of the scroll API, given that is now what is recommended. I appreciate that it is possible to do this usingElasticsearch.open_point_in_time
etc., but it would be really useful if the library came with a ready-made helper function given that paging through more than 10,000 hits is presumably quite a common requirement, especially so as there is an existing helper function for the no-longer-recommended scroll API.The text was updated successfully, but these errors were encountered: