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: templates/php/api.mustache
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -674,7 +674,7 @@ use Algolia\AlgoliaSearch\Exceptions\NotFoundException;
674
674
* @param string $indexName The `indexName` to replace `objects` in.
675
675
* @param array $objects The array of `objects` to store in the given Algolia `indexName`.
676
676
* @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
677
-
* @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.
677
+
* @param int $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
678
678
* @param array $requestOptions Request options
679
679
*/
680
680
public function saveObjects($indexName, $objects, $waitForTasks = false, $batchSize = 1000, $requestOptions = [])
@@ -691,7 +691,7 @@ use Algolia\AlgoliaSearch\Exceptions\NotFoundException;
691
691
* @param string $indexName the `indexName` to replace `objects` in
692
692
* @param array $objects the array of `objects` to store in the given Algolia `indexName`
693
693
* @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
694
-
* @param array $batchSize The size of the chunk of `objects`. The number of `push` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
694
+
* @param int $batchSize The size of the chunk of `objects`. The number of `push` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
695
695
* @param array $requestOptions Request options
696
696
*/
697
697
public function saveObjectsWithTransformation($indexName, $objects, $waitForTasks = false, $batchSize = 1000, $requestOptions = [])
@@ -709,7 +709,7 @@ use Algolia\AlgoliaSearch\Exceptions\NotFoundException;
709
709
* @param string $indexName The `indexName` to delete `objectIDs` from.
710
710
* @param array $objectIDs The `objectIDs` to delete.
711
711
* @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
712
-
* @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.
712
+
* @param int $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
713
713
* @param array $requestOptions Request options
714
714
*/
715
715
public function deleteObjects($indexName, $objectIDs, $waitForTasks = false, $batchSize = 1000, $requestOptions = [])
@@ -730,7 +730,7 @@ use Algolia\AlgoliaSearch\Exceptions\NotFoundException;
730
730
* @param array $objects The array of `objects` to store in the given Algolia `indexName`.
731
731
* @param bool $createIfNotExists To be provided if non-existing objects are passed, otherwise, the call will fail..
732
732
* @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
733
-
* @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.
733
+
* @param int $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
734
734
* @param array $requestOptions Request options
735
735
*/
736
736
public function partialUpdateObjects($indexName, $objects, $createIfNotExists, $waitForTasks = false, $batchSize = 1000, $requestOptions = []) {
@@ -747,7 +747,7 @@ use Algolia\AlgoliaSearch\Exceptions\NotFoundException;
747
747
* @param array $objects the array of `objects` to store in the given Algolia `indexName`
748
748
* @param bool $createIfNotExists To be provided if non-existing objects are passed, otherwise, the call will fail..
749
749
* @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
750
-
* @param array $batchSize The size of the chunk of `objects`. The number of `push` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
750
+
* @param int $batchSize The size of the chunk of `objects`. The number of `push` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
751
751
* @param array $requestOptions Request options
752
752
*/
753
753
public function partialUpdateObjectsWithTransformation($indexName, $objects, $createIfNotExists, $waitForTasks = false, $batchSize = 1000, $requestOptions = [])
@@ -766,7 +766,7 @@ use Algolia\AlgoliaSearch\Exceptions\NotFoundException;
766
766
* @param array $objects the array of `objects` to store in the given Algolia `indexName`
767
767
* @param array $action the `batch` `action` to perform on the given array of `objects`, defaults to `addObject`
768
768
* @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
769
-
* @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.
769
+
* @param int $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
770
770
* @param array $requestOptions Request options
771
771
*/
772
772
public function chunkedBatch(
@@ -892,4 +892,4 @@ use Algolia\AlgoliaSearch\Exceptions\NotFoundException;
0 commit comments