If you're planning to use the replaceAllObjects method to update your Algolia index and are wondering whether there’s a limit to how many records it can accept, here’s what you need to know.
No hard limit on record count
The replaceAllObjects method does not have a maximum limit on the number of records you can pass through the objects parameter. You can safely provide large datasets without manually batching the records yourself.
Built-in batching behavior
Algolia handles batching automatically behind the scenes. The method divides your records into appropriately sized batches based on their size and processes them sequentially. This ensures reliable performance even for large-scale updates.
There's no need to worry about manually splitting records or hitting an upper threshold, just pass the full list, and Algolia takes care of the rest.