Closed donhardman closed 7 months ago
The fix can be found here: https://github.com/manticoresoftware/manticoresearch-php/pull/175
But I think it's a good idea to check whether this is the only place that needs modification and to ensure we don't have a similar issue elsewhere.
Let's add a test for "returns not all documents when size of array > 20".
This code only retrieves 20 documents, and currently, we don't have the option to chain a limit setting in the Client. However, I believe we shouldn't need to. We have an array of IDs, which should allow us to determine the necessary limit to fetch all the documents.
Currently, it's not functioning. The solution is simply to set the limit to the size of the $ids array.