algolia/algoliasearch-client-php

`replaceAllObjects` + safe + new index = hangs forever

apfelbox opened this issue · 2 comments

  • Algolia Client Version: 3.3.2
  • Language Version: PHP 8.2

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.

We have the same.

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