Skip to main content
Required ACL: addObject This helper method uses the Batch operations on one index operation. It builds a batch request with either the partialUpdateObject or partialUpdateObjectNoCreate action, depending on whether createIfNotExists is true or false. The method sends records in batches of up to 1,000. This operation is subject to indexing rate limits.

Usage

Parameters

string
required
Name of the index to update records in.
IEnumerable<T>
required
Records to update.
Type parameter
required
The model of your index’s records.
bool
required
Whether to add new records to the index if they don’t exist yet.
bool
default:false
Whether to wait until all batch requests are done.
CancellationToken
default:"default"
Parameter that can be used as a signal to cancel this request.
Last modified on March 11, 2026