@@ -103,9 +103,10 @@ open class SearchClient {
103103    } 
104104
105105    // If a record with the specified object ID exists, the existing record is replaced. Otherwise, a new record is
106-     // added to the index.  To update _some_ attributes of an existing record, use the [`partial`
107-     // operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or replace multiple records, use
108-     // the [`batch` operation](#tag/Records/operation/batch).
106+     // added to the index.  If you want to use auto-generated object IDs, use the [`saveObject`
107+     // operation](#tag/Records/operation/saveObject). To update _some_ attributes of an existing record, use the
108+     // [`partial` operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or replace multiple
109+     // records, use the [`batch` operation](#tag/Records/operation/batch).
109110    // Required API Key ACLs:
110111    //  - addObject
111112    //
@@ -2942,7 +2943,7 @@ open class SearchClient {
29422943        return  body
29432944    } 
29442945
2945-     // Adds a record to an index or replace  it.  - If the record doesn't have an object ID, a new record with an
2946+     // Adds a record to an index or replaces  it.  - If the record doesn't have an object ID, a new record with an
29462947    // auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing
29472948    // record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your
29482949    // index.
0 commit comments