You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/algoliasearch-client-php/lib/Api/SearchClient.php
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2956,10 +2956,11 @@ public function replaceAllObjects($indexName, $objects, $batchSize = 1000, $requ
2956
2956
* @param string $indexName the `indexName` to replace `objects` in
2957
2957
* @param array $objects the array of `objects` to store in the given Algolia `indexName`
2958
2958
* @param array $requestOptions Request options
2959
+
* @param bool $waitForTasks Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable
@@ -2968,16 +2969,17 @@ public function saveObjects($indexName, $objects, $requestOptions = [])
2968
2969
* @param string $indexName the `indexName` to delete `objectIDs` from
2969
2970
* @param array $objectIDs the `objectIDs` to delete
2970
2971
* @param array $requestOptions Request options
2972
+
* @param bool $waitForTasks Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable
@@ -2987,10 +2989,11 @@ public function deleteObjects($indexName, $objectIDs, $requestOptions = [])
2987
2989
* @param array $objects the array of `objects` to store in the given Algolia `indexName`
2988
2990
* @param bool $createIfNotExists To be provided if non-existing objects are passed, otherwise, the call will fail..
2989
2991
* @param array $requestOptions Request options
2992
+
* @param bool $waitForTasks Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable
@@ -2999,7 +3002,7 @@ public function partialUpdateObjects($indexName, $objects, $createIfNotExists, $
2999
3002
* @param string $indexName the `indexName` to replace `objects` in
3000
3003
* @param array $objects the array of `objects` to store in the given Algolia `indexName`
3001
3004
* @param array $action the `batch` `action` to perform on the given array of `objects`, defaults to `addObject`
3002
-
* @param array $waitForTasks whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable
3005
+
* @param bool $waitForTasks whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable
3003
3006
* @param array $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
0 commit comments