Skip to content

Commit cb2a2d2

Browse files
algolia-botgazconroyGary Conroyshortcuts
committed
fix(specs): correct typos is Search API (generated)
algolia/api-clients-automation#3898 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: gazconroy <[email protected]> Co-authored-by: Gary Conroy <[email protected]> Co-authored-by: shortcuts <[email protected]>
1 parent 6394c43 commit cb2a2d2

File tree

192 files changed

+501
-503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+501
-503
lines changed

src/main/scala/algoliasearch/api/SearchClient.scala

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class SearchClient(
161161
* @param objectID
162162
* Unique record identifier.
163163
* @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.
165165
*/
166166
def addOrUpdateObject(indexName: String, objectID: String, body: Any, requestOptions: Option[RequestOptions] = None)(
167167
implicit ec: ExecutionContext
@@ -314,8 +314,8 @@ class SearchClient(
314314
* proximity, geo distance. Browse requests automatically apply these settings: - `advancedSyntax`: `false` -
315315
* `attributesToHighlight`: `[]` - `attributesToSnippet`: `[]` - `distinct`: `false` - `enablePersonalization`:
316316
* `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.
319319
*
320320
* Required API Key ACLs:
321321
* - browse
@@ -925,7 +925,7 @@ class SearchClient(
925925
execute[Seq[Source]](request, requestOptions)
926926
}
927927

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`
929929
* operation](#tag/Synonyms/operation/searchSynonyms).
930930
*
931931
* Required API Key ACLs:
@@ -1153,7 +1153,7 @@ class SearchClient(
11531153
* Related guide: [Copy
11541154
* indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/copy-indices/)
11551155
* **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
11571157
* the original analytics in the dashboard, create an index with the original name. - If the destination index has
11581158
* replicas, moving will overwrite the existing index and copy the data to the replica indices. - Related guide:
11591159
* [Move
@@ -1182,7 +1182,7 @@ class SearchClient(
11821182
execute[UpdatedAtResponse](request, requestOptions)
11831183
}
11841184

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
11861186
* exist, a new record is added to the index **if** `createIfNotExists` is true. - If the index doesn't exist yet,
11871187
* this method creates a new index. - You can use any first-level attribute but not nested attributes. If you specify
11881188
* 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(
11981198
* the provided value is greater than the current value, and otherwise ignore the whole object update. For example,
11991199
* if you pass an IncrementSet value of 2 for the version attribute, and the current value of the attribute is 1, the
12001200
* 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.
12051205
*
12061206
* Required API Key ACLs:
12071207
* - addObject
@@ -1314,7 +1314,7 @@ class SearchClient(
13141314
* @param indexName
13151315
* Name of the index on which to perform the operation.
13161316
* @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.
13181318
*/
13191319
def saveObject(indexName: String, body: Any, requestOptions: Option[RequestOptions] = None)(implicit
13201320
ec: ExecutionContext
@@ -1467,7 +1467,7 @@ class SearchClient(
14671467
execute[UpdatedAtResponse](request, requestOptions)
14681468
}
14691469

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
14711471
* different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the
14721472
* same index—for example, with different filters.
14731473
*
@@ -1578,7 +1578,7 @@ class SearchClient(
15781578
execute[SearchRulesResponse](request, requestOptions)
15791579
}
15801580

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
15821582
* hits. If you need more, use the [`browse` operation](#tag/Search/operation/browse) or increase the
15831583
* `paginatedLimitedTo` index setting.
15841584
*

src/main/scala/algoliasearch/recommend/BaseIndexSettings.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import algoliasearch.recommend.SupportedLanguage._
3737
* Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/).
3838
* Facets are attributes that let you categorize search results. They can be used for filtering search results. By
3939
* default, no attribute is used for faceting. Attribute names are case-sensitive. **Modifiers** -
40-
* `filterOnly(\"ATTRIBUTE\")`. Allows using this attribute as a filter, but doesn't evalue the facet values. -
40+
* `filterOnly(\"ATTRIBUTE\")`. Allows the attribute to be used as a filter but doesn't evaluate the facet values. -
4141
* `searchable(\"ATTRIBUTE\")`. Allows searching for facet values. - `afterDistinct(\"ATTRIBUTE\")`. Evaluates the
4242
* facet count _after_ deduplication with `distinct`. This ensures accurate facet counts. You can apply this modifier
4343
* to searchable facets: `afterDistinct(searchable(ATTRIBUTE))`.
@@ -48,7 +48,7 @@ import algoliasearch.recommend.SupportedLanguage._
4848
* offer a different ranking or sorting of your search results, you'll use replica indices. All index operations on a
4949
* primary index are automatically forwarded to its replicas. To add a replica index, you must provide the complete
5050
* set of replicas to this parameter. If you omit a replica from this list, the replica turns into a regular,
51-
* standalone index that will no longer by synced with the primary index. **Modifier** - `virtual(\"REPLICA\")`.
51+
* standalone index that will no longer be synced with the primary index. **Modifier** - `virtual(\"REPLICA\")`.
5252
* Create a virtual replica, Virtual replicas don't increase the number of records and are optimized for [Relevant
5353
* sorting](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort/).
5454
* @param paginationLimitedTo
@@ -102,8 +102,8 @@ import algoliasearch.recommend.SupportedLanguage._
102102
* Numeric attributes that can be used as [numerical
103103
* filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters).
104104
* Attribute names are case-sensitive. By default, all numeric attributes are available as numerical filters. For
105-
* faster indexing, reduce the number of numeric attributes. If you want to turn off filtering for all numeric
106-
* attributes, specifiy an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** -
105+
* faster indexing, reduce the number of numeric attributes. To turn off filtering for all numeric attributes,
106+
* specify an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** -
107107
* `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
108108
* @param separatorsToIndex
109109
* Controls which separators are indexed. Separators are all non-letter characters except spaces and currency
@@ -119,8 +119,8 @@ import algoliasearch.recommend.SupportedLanguage._
119119
* comma-separated string, such as `\"title,alternate_title\"`. Attributes with the same priority are always
120120
* unordered. For more information, see [Searchable
121121
* attributes](https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/setting-searchable-attributes/).
122-
* **Modifier** - `unordered(\"ATTRIBUTE\")`. Ignore the position of a match within the attribute. Without modifier,
123-
* matches at the beginning of an attribute rank higer than matches at the end.
122+
* **Modifier** - `unordered(\"ATTRIBUTE\")`. Ignore the position of a match within the attribute. Without a
123+
* modifier, matches at the beginning of an attribute rank higher than matches at the end.
124124
* @param userData
125125
* An object with custom data. You can store up to 32kB as custom data.
126126
* @param customNormalization

src/main/scala/algoliasearch/recommend/BaseRecommendIndexSettings.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ import algoliasearch.recommend.SupportedLanguage._
132132
* search results increases for every 1,000 records: - If `optionalWords` has less than 10 words, the required number
133133
* of matched words increases by 1: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 2 matched
134134
* words. - If `optionalWords` has 10 or more words, the number of required matched words increases by the number of
135-
* optional words dividied by 5 (rounded down). For example, with 18 optional words: results 1 to 1,000 require 1
135+
* optional words divided by 5 (rounded down). For example, with 18 optional words: results 1 to 1,000 require 1
136136
* matched word, results 1,001 to 2000 need 4 matched words. For more information, see [Optional
137137
* words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
138138
* @param disableExactOnAttributes
139139
* Searchable attributes for which you want to [turn off the Exact ranking
140140
* criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).
141-
* Attribute names are case-sensitive. This can be useful for attributes with long values, where the likelyhood of an
141+
* Attribute names are case-sensitive. This can be useful for attributes with long values, where the likelihood of an
142142
* exact match is high, such as product descriptions. Turning off the Exact ranking criterion for these attributes
143143
* favors exact matching on other attributes. This reduces the impact of individual attributes with a lot of content
144144
* on ranking.
@@ -157,7 +157,7 @@ import algoliasearch.recommend.SupportedLanguage._
157157
* even if a synonym matches. For example, with `home` as a synonym for `house` and a search for `home`, records
158158
* matching either \"home\" or \"house\" are included in the search results, and either \"home\" or \"house\" are
159159
* highlighted. With `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,
160-
* but all occurences of \"house\" are replaced by \"home\" in the highlighted response.
160+
* but all occurrences of \"house\" are replaced by \"home\" in the highlighted response.
161161
* @param minProximity
162162
* Minimum proximity score for two matching words. This adjusts the [Proximity ranking
163163
* criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)

src/main/scala/algoliasearch/recommend/BaseRecommendSearchParams.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ import algoliasearch.recommend.SupportedLanguage._
7070
* the same facet values for the `attributeForDistinct`.
7171
* @param aroundLatLng
7272
* Coordinates for the center of a circle, expressed as a comma-separated string of latitude and longitude. Only
73-
* records included within circle around this central location are included in the results. The radius of the circle
74-
* is determined by the `aroundRadius` and `minimumAroundRadius` settings. This parameter is ignored if you also
75-
* specify `insidePolygon` or `insideBoundingBox`.
73+
* records included within a circle around this central location are included in the results. The radius of the
74+
* circle is determined by the `aroundRadius` and `minimumAroundRadius` settings. This parameter is ignored if you
75+
* also specify `insidePolygon` or `insideBoundingBox`.
7676
* @param aroundLatLngViaIP
7777
* Whether to obtain the coordinates from the request's IP address.
7878
* @param minimumAroundRadius

0 commit comments

Comments
 (0)