@@ -168,9 +168,10 @@ class SearchClient(
168
168
}
169
169
170
170
/** If a record with the specified object ID exists, the existing record is replaced. Otherwise, a new record is added
171
- * to the index. To update _some_ attributes of an existing record, use the [`partial`
172
- * operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or replace multiple records, use
173
- * the [`batch` operation](#tag/Records/operation/batch).
171
+ * to the index. If you want to use auto-generated object IDs, use the [`saveObject`
172
+ * operation](#tag/Records/operation/saveObject). To update _some_ attributes of an existing record, use the
173
+ * [`partial` operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or replace multiple
174
+ * records, use the [`batch` operation](#tag/Records/operation/batch).
174
175
*
175
176
* Required API Key ACLs:
176
177
* - addObject
@@ -1331,7 +1332,7 @@ class SearchClient(
1331
1332
execute[AddApiKeyResponse ](request, requestOptions)
1332
1333
}
1333
1334
1334
- /** Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an
1335
+ /** Adds a record to an index or replaces it. - If the record doesn't have an object ID, a new record with an
1335
1336
* auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing
1336
1337
* record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index.
1337
1338
* \- If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of
0 commit comments