If your plan is one of Algolia's legacy plans (Essential, Plus, Community, Starter, and Pro), where you are charged for indexing operations, using the method saveObject
counts against your usage.
For plans released after July 2020, where you are not charged for indexing operations, the simple indexing operation of using saveObject
is free of charge.
However, the method saveObject
can be used for two distinct purposes: add new objects to an index or replace existing objects with an updated set of attributes.
If you intend to update your objects, you’ll need to make sure to always pass the accurate objectID
, otherwise, this would cause the creation of a new record which would increase your records usage. Total records will count towards your usage.
If you need to update your records you can also use the partialUpdateObjects method.