@@ -103,9 +103,10 @@ open class SearchClient {
103
103
}
104
104
105
105
// 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).
109
110
// Required API Key ACLs:
110
111
// - addObject
111
112
//
@@ -2942,7 +2943,7 @@ open class SearchClient {
2942
2943
return body
2943
2944
}
2944
2945
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
2946
2947
// auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing
2947
2948
// record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your
2948
2949
// index.
0 commit comments