You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like a helper function to replace scan, one that uses the search_after parameter with a point in time (PIT) instead of the scroll API.
I use scan frequently, but I would like to switch to using search_after instead of the scroll API, given that is now what is recommended. I appreciate that it is possible to do this using Elasticsearch.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:
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: