Skip to content

Commit a166382

Browse files
algolia-botJerska
andcommitted
docs(partialUpdate): add note about multiple operations (generated)
algolia/api-clients-automation#4721 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Matthieu Dumont <[email protected]>
1 parent 1958e08 commit a166382

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

algoliasearch/src/main/java/com/algolia/api/SearchClient.java

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3741,8 +3741,9 @@ public CompletableFuture<UpdatedAtResponse> operationIndexAsync(
37413741
* IncrementSet value greater than 0. You can specify an operation by providing an object with the
37423742
* attribute to update as the key and its value being an object with the following properties: -
37433743
* _operation: the operation to apply on the attribute - value: the right-hand side argument to
3744-
* the operation, for example, increment or decrement step, value to add or remove. This operation
3745-
* is subject to [indexing rate
3744+
* the operation, for example, increment or decrement step, value to add or remove. When updating
3745+
* multiple attributes or using multiple operations targeting the same record, you should use a
3746+
* single partial update for faster processing. This operation is subject to [indexing rate
37463747
* limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
37473748
*
37483749
* @param indexName Name of the index on which to perform the operation. (required)
@@ -3787,8 +3788,9 @@ public UpdatedAtWithObjectIdResponse partialUpdateObject(
37873788
* IncrementSet value greater than 0. You can specify an operation by providing an object with the
37883789
* attribute to update as the key and its value being an object with the following properties: -
37893790
* _operation: the operation to apply on the attribute - value: the right-hand side argument to
3790-
* the operation, for example, increment or decrement step, value to add or remove. This operation
3791-
* is subject to [indexing rate
3791+
* the operation, for example, increment or decrement step, value to add or remove. When updating
3792+
* multiple attributes or using multiple operations targeting the same record, you should use a
3793+
* single partial update for faster processing. This operation is subject to [indexing rate
37923794
* limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
37933795
*
37943796
* @param indexName Name of the index on which to perform the operation. (required)
@@ -3830,8 +3832,9 @@ public UpdatedAtWithObjectIdResponse partialUpdateObject(
38303832
* IncrementSet value greater than 0. You can specify an operation by providing an object with the
38313833
* attribute to update as the key and its value being an object with the following properties: -
38323834
* _operation: the operation to apply on the attribute - value: the right-hand side argument to
3833-
* the operation, for example, increment or decrement step, value to add or remove. This operation
3834-
* is subject to [indexing rate
3835+
* the operation, for example, increment or decrement step, value to add or remove. When updating
3836+
* multiple attributes or using multiple operations targeting the same record, you should use a
3837+
* single partial update for faster processing. This operation is subject to [indexing rate
38353838
* limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
38363839
*
38373840
* @param indexName Name of the index on which to perform the operation. (required)
@@ -3873,8 +3876,9 @@ public UpdatedAtWithObjectIdResponse partialUpdateObject(
38733876
* IncrementSet value greater than 0. You can specify an operation by providing an object with the
38743877
* attribute to update as the key and its value being an object with the following properties: -
38753878
* _operation: the operation to apply on the attribute - value: the right-hand side argument to
3876-
* the operation, for example, increment or decrement step, value to add or remove. This operation
3877-
* is subject to [indexing rate
3879+
* the operation, for example, increment or decrement step, value to add or remove. When updating
3880+
* multiple attributes or using multiple operations targeting the same record, you should use a
3881+
* single partial update for faster processing. This operation is subject to [indexing rate
38783882
* limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
38793883
*
38803884
* @param indexName Name of the index on which to perform the operation. (required)
@@ -3914,7 +3918,9 @@ public UpdatedAtWithObjectIdResponse partialUpdateObject(
39143918
* providing an object with the attribute to update as the key and its value being an object with
39153919
* the following properties: - _operation: the operation to apply on the attribute - value: the
39163920
* right-hand side argument to the operation, for example, increment or decrement step, value to
3917-
* add or remove. This operation is subject to [indexing rate
3921+
* add or remove. When updating multiple attributes or using multiple operations targeting the
3922+
* same record, you should use a single partial update for faster processing. This operation is
3923+
* subject to [indexing rate
39183924
* limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
39193925
*
39203926
* @param indexName Name of the index on which to perform the operation. (required)
@@ -3972,7 +3978,9 @@ public CompletableFuture<UpdatedAtWithObjectIdResponse> partialUpdateObjectAsync
39723978
* providing an object with the attribute to update as the key and its value being an object with
39733979
* the following properties: - _operation: the operation to apply on the attribute - value: the
39743980
* right-hand side argument to the operation, for example, increment or decrement step, value to
3975-
* add or remove. This operation is subject to [indexing rate
3981+
* add or remove. When updating multiple attributes or using multiple operations targeting the
3982+
* same record, you should use a single partial update for faster processing. This operation is
3983+
* subject to [indexing rate
39763984
* limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
39773985
*
39783986
* @param indexName Name of the index on which to perform the operation. (required)
@@ -4015,7 +4023,9 @@ public CompletableFuture<UpdatedAtWithObjectIdResponse> partialUpdateObjectAsync
40154023
* providing an object with the attribute to update as the key and its value being an object with
40164024
* the following properties: - _operation: the operation to apply on the attribute - value: the
40174025
* right-hand side argument to the operation, for example, increment or decrement step, value to
4018-
* add or remove. This operation is subject to [indexing rate
4026+
* add or remove. When updating multiple attributes or using multiple operations targeting the
4027+
* same record, you should use a single partial update for faster processing. This operation is
4028+
* subject to [indexing rate
40194029
* limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
40204030
*
40214031
* @param indexName Name of the index on which to perform the operation. (required)
@@ -4058,7 +4068,9 @@ public CompletableFuture<UpdatedAtWithObjectIdResponse> partialUpdateObjectAsync
40584068
* providing an object with the attribute to update as the key and its value being an object with
40594069
* the following properties: - _operation: the operation to apply on the attribute - value: the
40604070
* right-hand side argument to the operation, for example, increment or decrement step, value to
4061-
* add or remove. This operation is subject to [indexing rate
4071+
* add or remove. When updating multiple attributes or using multiple operations targeting the
4072+
* same record, you should use a single partial update for faster processing. This operation is
4073+
* subject to [indexing rate
40624074
* limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
40634075
*
40644076
* @param indexName Name of the index on which to perform the operation. (required)

0 commit comments

Comments
 (0)