algolia / algoliasearch-client-php

⚡️ A fully-featured and blazing-fast PHP API client to interact with Algolia.
https://www.algolia.com/doc/api-client/php/getting-started/
MIT License
671 stars 116 forks source link

`replaceAllObjects` + safe + new index = hangs forever #714

Closed apfelbox closed 3 days ago

apfelbox commented 1 year ago

Description

Using the method replaceAllObjects with a new index + safe hangs indefinitely:

$index->replaceAllObjects($items, [
    "safe" => true,
]);

If you use this method with an index that not yet exists, it will just hang forever – possibly because the request to copy the config will never succeed.

Steps To Reproduce

See above.

samholguin commented 5 months ago

We have the same.

millotp commented 3 days ago

Hello, in the new v4 version this is no longer an issue, please upgrade if you still encounter this.