Skip to content
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

Update search iterators to send "scroll_id" inside the request body #1134

Merged
merged 2 commits into from
Jun 29, 2021

Conversation

bakurin
Copy link

@bakurin bakurin commented Apr 29, 2021

Moving scroll_id into requires body #1044 brakes SearchResponseIterator by triggering deprecation error.

The goal of this PR is to change the iterator classes as described in the doc to avoid deprecation error

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Copy link
Contributor

@ezimuel ezimuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR, it looks good. I only requested a little change about the usage of count(). Let me know what do you think. Thanks!

src/Elasticsearch/Helper/Iterators/SearchHitIterator.php Outdated Show resolved Hide resolved
@ezimuel ezimuel merged commit 3dd596d into elastic:7.x Jun 29, 2021
@ezimuel ezimuel added this to the 7.14.0 milestone Jun 29, 2021
@ezimuel
Copy link
Contributor

ezimuel commented Jun 29, 2021

Thanks @bakurin, this PR will be released in 7.14.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants