Closed bakurin closed 3 years ago
It seems that after #1044 SearchResponseIterator is broken: a deprecation error is thrown on an attempt to iterate the search result.
SearchResponseIterator
$res = new SearchHitIterator(new SearchResponseIterator($client, $params)); foreach ($res as $hit) { // }
There is my PR #1134 with the suggested fix
@bakurin thanks for opening this issue and for the PR #1134. I just reviewed it.
Merged in #1134
Search iterators are broken
It seems that after #1044
SearchResponseIterator
is broken: a deprecation error is thrown on an attempt to iterate the search result.Code snippet of problem
System details
There is my PR #1134 with the suggested fix