@@ -161,7 +161,7 @@ class SearchClient(
161
161
* @param objectID
162
162
* Unique record identifier.
163
163
* @param body
164
- * The record, a schemaless object with attributes that are useful in the context of search and discovery.
164
+ * The record. A schemaless object with attributes that are useful in the context of search and discovery.
165
165
*/
166
166
def addOrUpdateObject (indexName : String , objectID : String , body : Any , requestOptions : Option [RequestOptions ] = None )(
167
167
implicit ec : ExecutionContext
@@ -314,8 +314,8 @@ class SearchClient(
314
314
* proximity, geo distance. Browse requests automatically apply these settings: - `advancedSyntax`: `false` -
315
315
* `attributesToHighlight`: `[]` - `attributesToSnippet`: `[]` - `distinct`: `false` - `enablePersonalization`:
316
316
* `false` - `enableRules`: `false` - `facets`: `[]` - `getRankingInfo`: `false` - `ignorePlurals`: `false` -
317
- * `optionalFilters`: `[]` - `typoTolerance`: `true` or `false` (`min` and `strict` is evaluated to `true`) If you
318
- * send these parameters with your browse requests, they'll be ignored.
317
+ * `optionalFilters`: `[]` - `typoTolerance`: `true` or `false` (`min` and `strict` evaluate to `true`) If you send
318
+ * these parameters with your browse requests, they'll be ignored.
319
319
*
320
320
* Required API Key ACLs:
321
321
* - browse
@@ -925,7 +925,7 @@ class SearchClient(
925
925
execute[Seq [Source ]](request, requestOptions)
926
926
}
927
927
928
- /** Retrieves a syonym by its ID. To find the object IDs for your synonyms, use the [`search`
928
+ /** Retrieves a synonym by its ID. To find the object IDs for your synonyms, use the [`search`
929
929
* operation](#tag/Synonyms/operation/searchSynonyms).
930
930
*
931
931
* Required API Key ACLs:
@@ -1153,7 +1153,7 @@ class SearchClient(
1153
1153
* Related guide: [Copy
1154
1154
* indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/copy-indices/)
1155
1155
* **Move** - Moving a source index that doesn't exist is ignored without returning an error. - When moving an index,
1156
- * the analytics data keep their original name and a new set of analytics data is started for the new name. To access
1156
+ * the analytics data keeps its original name, and a new set of analytics data is started for the new name. To access
1157
1157
* the original analytics in the dashboard, create an index with the original name. - If the destination index has
1158
1158
* replicas, moving will overwrite the existing index and copy the data to the replica indices. - Related guide:
1159
1159
* [Move
@@ -1182,7 +1182,7 @@ class SearchClient(
1182
1182
execute[UpdatedAtResponse ](request, requestOptions)
1183
1183
}
1184
1184
1185
- /** Adds new attributes to a record, or update existing ones. - If a record with the specified object ID doesn't
1185
+ /** Adds new attributes to a record, or updates existing ones. - If a record with the specified object ID doesn't
1186
1186
* exist, a new record is added to the index **if** `createIfNotExists` is true. - If the index doesn't exist yet,
1187
1187
* this method creates a new index. - You can use any first-level attribute but not nested attributes. If you specify
1188
1188
* a nested attribute, the engine treats it as a replacement for its first-level ancestor. To update an attribute
@@ -1198,10 +1198,10 @@ class SearchClient(
1198
1198
* the provided value is greater than the current value, and otherwise ignore the whole object update. For example,
1199
1199
* if you pass an IncrementSet value of 2 for the version attribute, and the current value of the attribute is 1, the
1200
1200
* engine updates the object. If the object doesn't exist yet, the engine only creates it if you pass an IncrementSet
1201
- * value that's greater than 0. You can specify an operation by providing an object with the attribute to update as
1202
- * the key and its value being an object with the following properties: - _operation: the operation to apply on the
1203
- * attribute - value: the right-hand side argument to the operation, for example, increment or decrement step, value
1204
- * to add or remove.
1201
+ * value greater than 0. You can specify an operation by providing an object with the attribute to update as the key
1202
+ * and its value being an object with the following properties: - _operation: the operation to apply on the attribute
1203
+ * \ - value: the right-hand side argument to the operation, for example, increment or decrement step, value to add or
1204
+ * remove.
1205
1205
*
1206
1206
* Required API Key ACLs:
1207
1207
* - addObject
@@ -1314,7 +1314,7 @@ class SearchClient(
1314
1314
* @param indexName
1315
1315
* Name of the index on which to perform the operation.
1316
1316
* @param body
1317
- * The record, a schemaless object with attributes that are useful in the context of search and discovery.
1317
+ * The record. A schemaless object with attributes that are useful in the context of search and discovery.
1318
1318
*/
1319
1319
def saveObject (indexName : String , body : Any , requestOptions : Option [RequestOptions ] = None )(implicit
1320
1320
ec : ExecutionContext
@@ -1467,7 +1467,7 @@ class SearchClient(
1467
1467
execute[UpdatedAtResponse ](request, requestOptions)
1468
1468
}
1469
1469
1470
- /** Sends multiple search request to one or more indices. This can be useful in these cases: - Different indices for
1470
+ /** Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for
1471
1471
* different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the
1472
1472
* same index—for example, with different filters.
1473
1473
*
@@ -1578,7 +1578,7 @@ class SearchClient(
1578
1578
execute[SearchRulesResponse ](request, requestOptions)
1579
1579
}
1580
1580
1581
- /** Searches a single index and return matching search results (_hits_). This method lets you retrieve up to 1,000
1581
+ /** Searches a single index and returns matching search results (_hits_). This method lets you retrieve up to 1,000
1582
1582
* hits. If you need more, use the [`browse` operation](#tag/Search/operation/browse) or increase the
1583
1583
* `paginatedLimitedTo` index setting.
1584
1584
*
0 commit comments