@@ -118,9 +118,11 @@ public CompletableFuture<AddApiKeyResponse> addApiKeyAsync(@Nonnull ApiKey apiKe
118
118
119
119
/**
120
120
* If a record with the specified object ID exists, the existing record is replaced. Otherwise, a
121
- * new record is added to the index. To update _some_ attributes of an existing record, use the
122
- * [`partial` operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or
123
- * replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
121
+ * new record is added to the index. If you want to use auto-generated object IDs, use the
122
+ * [`saveObject` operation](#tag/Records/operation/saveObject). To update _some_ attributes of an
123
+ * existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject)
124
+ * instead. To add, update, or replace multiple records, use the [`batch`
125
+ * operation](#tag/Records/operation/batch).
124
126
*
125
127
* @param indexName Name of the index on which to perform the operation. (required)
126
128
* @param objectID Unique record identifier. (required)
@@ -141,9 +143,11 @@ public UpdatedAtWithObjectIdResponse addOrUpdateObject(
141
143
142
144
/**
143
145
* If a record with the specified object ID exists, the existing record is replaced. Otherwise, a
144
- * new record is added to the index. To update _some_ attributes of an existing record, use the
145
- * [`partial` operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or
146
- * replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
146
+ * new record is added to the index. If you want to use auto-generated object IDs, use the
147
+ * [`saveObject` operation](#tag/Records/operation/saveObject). To update _some_ attributes of an
148
+ * existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject)
149
+ * instead. To add, update, or replace multiple records, use the [`batch`
150
+ * operation](#tag/Records/operation/batch).
147
151
*
148
152
* @param indexName Name of the index on which to perform the operation. (required)
149
153
* @param objectID Unique record identifier. (required)
@@ -158,10 +162,11 @@ public UpdatedAtWithObjectIdResponse addOrUpdateObject(@Nonnull String indexName
158
162
159
163
/**
160
164
* (asynchronously) If a record with the specified object ID exists, the existing record is
161
- * replaced. Otherwise, a new record is added to the index. To update _some_ attributes of an
162
- * existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject)
163
- * instead. To add, update, or replace multiple records, use the [`batch`
164
- * operation](#tag/Records/operation/batch).
165
+ * replaced. Otherwise, a new record is added to the index. If you want to use auto-generated
166
+ * object IDs, use the [`saveObject` operation](#tag/Records/operation/saveObject). To update
167
+ * _some_ attributes of an existing record, use the [`partial`
168
+ * operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or replace
169
+ * multiple records, use the [`batch` operation](#tag/Records/operation/batch).
165
170
*
166
171
* @param indexName Name of the index on which to perform the operation. (required)
167
172
* @param objectID Unique record identifier. (required)
@@ -193,10 +198,11 @@ public CompletableFuture<UpdatedAtWithObjectIdResponse> addOrUpdateObjectAsync(
193
198
194
199
/**
195
200
* (asynchronously) If a record with the specified object ID exists, the existing record is
196
- * replaced. Otherwise, a new record is added to the index. To update _some_ attributes of an
197
- * existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject)
198
- * instead. To add, update, or replace multiple records, use the [`batch`
199
- * operation](#tag/Records/operation/batch).
201
+ * replaced. Otherwise, a new record is added to the index. If you want to use auto-generated
202
+ * object IDs, use the [`saveObject` operation](#tag/Records/operation/saveObject). To update
203
+ * _some_ attributes of an existing record, use the [`partial`
204
+ * operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or replace
205
+ * multiple records, use the [`batch` operation](#tag/Records/operation/batch).
200
206
*
201
207
* @param indexName Name of the index on which to perform the operation. (required)
202
208
* @param objectID Unique record identifier. (required)
@@ -4120,7 +4126,7 @@ public CompletableFuture<AddApiKeyResponse> restoreApiKeyAsync(@Nonnull String k
4120
4126
}
4121
4127
4122
4128
/**
4123
- * Adds a record to an index or replace it. - If the record doesn't have an object ID, a new
4129
+ * Adds a record to an index or replaces it. - If the record doesn't have an object ID, a new
4124
4130
* record with an auto-generated object ID is added to your index. - If a record with the
4125
4131
* specified object ID exists, the existing record is replaced. - If a record with the specified
4126
4132
* object ID doesn't exist, a new record is added to your index. - If you add a record to an index
@@ -4143,7 +4149,7 @@ public SaveObjectResponse saveObject(@Nonnull String indexName, @Nonnull Object
4143
4149
}
4144
4150
4145
4151
/**
4146
- * Adds a record to an index or replace it. - If the record doesn't have an object ID, a new
4152
+ * Adds a record to an index or replaces it. - If the record doesn't have an object ID, a new
4147
4153
* record with an auto-generated object ID is added to your index. - If a record with the
4148
4154
* specified object ID exists, the existing record is replaced. - If a record with the specified
4149
4155
* object ID doesn't exist, a new record is added to your index. - If you add a record to an index
@@ -4163,7 +4169,7 @@ public SaveObjectResponse saveObject(@Nonnull String indexName, @Nonnull Object
4163
4169
}
4164
4170
4165
4171
/**
4166
- * (asynchronously) Adds a record to an index or replace it. - If the record doesn't have an
4172
+ * (asynchronously) Adds a record to an index or replaces it. - If the record doesn't have an
4167
4173
* object ID, a new record with an auto-generated object ID is added to your index. - If a record
4168
4174
* with the specified object ID exists, the existing record is replaced. - If a record with the
4169
4175
* specified object ID doesn't exist, a new record is added to your index. - If you add a record
@@ -4194,7 +4200,7 @@ public CompletableFuture<SaveObjectResponse> saveObjectAsync(
4194
4200
}
4195
4201
4196
4202
/**
4197
- * (asynchronously) Adds a record to an index or replace it. - If the record doesn't have an
4203
+ * (asynchronously) Adds a record to an index or replaces it. - If the record doesn't have an
4198
4204
* object ID, a new record with an auto-generated object ID is added to your index. - If a record
4199
4205
* with the specified object ID exists, the existing record is replaced. - If a record with the
4200
4206
* specified object ID doesn't exist, a new record is added to your index. - If you add a record
0 commit comments