You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Recommend/Models/BaseRecommendIndexSettings.swift
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -95,12 +95,12 @@ public struct BaseRecommendIndexSettings: Codable, JSONEncodable {
95
95
/// included in the search results increases for every 1,000 records: - If `optionalWords` has less than 10 words,
96
96
/// the required number of matched words increases by 1: results 1 to 1,000 require 1 matched word, results 1,001
97
97
/// to 2000 need 2 matched words. - If `optionalWords` has 10 or more words, the number of required matched words
98
-
/// increases by the number of optional words dividied by 5 (rounded down). For example, with 18 optional words:
98
+
/// increases by the number of optional words divided by 5 (rounded down). For example, with 18 optional words:
99
99
/// results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 4 matched words. For more information,
100
100
/// see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
101
101
publicvaroptionalWords:[String]?
102
102
/// Searchable attributes for which you want to [turn off the Exact ranking 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).
103
-
/// Attribute names are case-sensitive. This can be useful for attributes with long values, where the likelyhood of
103
+
/// Attribute names are case-sensitive. This can be useful for attributes with long values, where the likelihood of
104
104
/// an exact match is high, such as product descriptions. Turning off the Exact ranking criterion for these
105
105
/// attributes favors exact matching on other attributes. This reduces the impact of individual attributes with a
106
106
/// lot of content on ranking.
@@ -122,7 +122,7 @@ public struct BaseRecommendIndexSettings: Codable, JSONEncodable {
122
122
/// even if a synonym matches. For example, with `home` as a synonym for `house` and a search for `home`, records
123
123
/// matching either \"home\" or \"house\" are included in the search results, and either \"home\" or \"house\" are
124
124
/// highlighted. With `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same
125
-
/// records, but all occurences of \"house\" are replaced by \"home\" in the highlighted response.
125
+
/// records, but all occurrences of \"house\" are replaced by \"home\" in the highlighted response.
126
126
publicvarreplaceSynonymsInHighlight:Bool?
127
127
/// Minimum proximity score for two matching words. This adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)
128
128
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
@@ -160,9 +160,9 @@ public struct FallbackParams: Codable, JSONEncodable {
160
160
publicvarallowCompressionOfIntegerArray:Bool?
161
161
/// Numeric attributes that can be used as [numerical filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters).
162
162
/// Attribute names are case-sensitive. By default, all numeric attributes are available as numerical filters. For
163
-
/// faster indexing, reduce the number of numeric attributes. If you want to turn off filtering for all numeric
164
-
/// attributes, specifiy an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`.
165
-
/// **Modifier** - `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
163
+
/// faster indexing, reduce the number of numeric attributes. To turn off filtering for all numeric attributes,
164
+
/// specify an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** -
165
+
/// `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
166
166
publicvarnumericAttributesForFiltering:[String]?
167
167
/// Controls which separators are indexed. Separators are all non-letter characters except spaces and currency
168
168
/// characters, such as $€£¥. By default, separator characters aren't indexed. With `separatorsToIndex`, Algolia
@@ -175,8 +175,8 @@ public struct FallbackParams: Codable, JSONEncodable {
175
175
/// higher in the list of `searchableAttributes` rank first. To make matches in two attributes rank equally, include
176
176
/// them in a comma-separated string, such as `\"title,alternate_title\"`. Attributes with the same priority are
177
177
/// always unordered. For more information, see [Searchable attributes](https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/setting-searchable-attributes/).
178
-
/// **Modifier** - `unordered(\"ATTRIBUTE\")`. Ignore the position of a match within the attribute. Without
179
-
/// modifier, matches at the beginning of an attribute rank higer than matches at the end.
178
+
/// **Modifier** - `unordered(\"ATTRIBUTE\")`. Ignore the position of a match within the attribute. Without a
179
+
/// modifier, matches at the beginning of an attribute rank higher than matches at the end.
180
180
publicvarsearchableAttributes:[String]?
181
181
/// An object with custom data. You can store up to 32kB as custom data.
182
182
publicvaruserData:AnyCodable?
@@ -276,12 +276,12 @@ public struct FallbackParams: Codable, JSONEncodable {
276
276
/// included in the search results increases for every 1,000 records: - If `optionalWords` has less than 10 words,
277
277
/// the required number of matched words increases by 1: results 1 to 1,000 require 1 matched word, results 1,001
278
278
/// to 2000 need 2 matched words. - If `optionalWords` has 10 or more words, the number of required matched words
279
-
/// increases by the number of optional words dividied by 5 (rounded down). For example, with 18 optional words:
279
+
/// increases by the number of optional words divided by 5 (rounded down). For example, with 18 optional words:
280
280
/// results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 4 matched words. For more information,
281
281
/// see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
282
282
publicvaroptionalWords:[String]?
283
283
/// Searchable attributes for which you want to [turn off the Exact ranking 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).
284
-
/// Attribute names are case-sensitive. This can be useful for attributes with long values, where the likelyhood of
284
+
/// Attribute names are case-sensitive. This can be useful for attributes with long values, where the likelihood of
285
285
/// an exact match is high, such as product descriptions. Turning off the Exact ranking criterion for these
286
286
/// attributes favors exact matching on other attributes. This reduces the impact of individual attributes with a
287
287
/// lot of content on ranking.
@@ -303,7 +303,7 @@ public struct FallbackParams: Codable, JSONEncodable {
303
303
/// even if a synonym matches. For example, with `home` as a synonym for `house` and a search for `home`, records
304
304
/// matching either \"home\" or \"house\" are included in the search results, and either \"home\" or \"house\" are
305
305
/// highlighted. With `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same
306
-
/// records, but all occurences of \"house\" are replaced by \"home\" in the highlighted response.
306
+
/// records, but all occurrences of \"house\" are replaced by \"home\" in the highlighted response.
307
307
publicvarreplaceSynonymsInHighlight:Bool?
308
308
/// Minimum proximity score for two matching words. This adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)
309
309
/// by equally scoring matches that are farther apart. For example, if `minProximity` is 2, neighboring matches and
@@ -70,9 +70,9 @@ public struct RecommendBaseIndexSettings: Codable, JSONEncodable {
70
70
publicvarallowCompressionOfIntegerArray:Bool?
71
71
/// Numeric attributes that can be used as [numerical filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters).
72
72
/// Attribute names are case-sensitive. By default, all numeric attributes are available as numerical filters. For
73
-
/// faster indexing, reduce the number of numeric attributes. If you want to turn off filtering for all numeric
74
-
/// attributes, specifiy an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`.
75
-
/// **Modifier** - `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
73
+
/// faster indexing, reduce the number of numeric attributes. To turn off filtering for all numeric attributes,
74
+
/// specify an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** -
75
+
/// `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
76
76
publicvarnumericAttributesForFiltering:[String]?
77
77
/// Controls which separators are indexed. Separators are all non-letter characters except spaces and currency
78
78
/// characters, such as $€£¥. By default, separator characters aren't indexed. With `separatorsToIndex`, Algolia
@@ -85,8 +85,8 @@ public struct RecommendBaseIndexSettings: Codable, JSONEncodable {
85
85
/// higher in the list of `searchableAttributes` rank first. To make matches in two attributes rank equally, include
86
86
/// them in a comma-separated string, such as `\"title,alternate_title\"`. Attributes with the same priority are
87
87
/// always unordered. For more information, see [Searchable attributes](https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/setting-searchable-attributes/).
88
-
/// **Modifier** - `unordered(\"ATTRIBUTE\")`. Ignore the position of a match within the attribute. Without
89
-
/// modifier, matches at the beginning of an attribute rank higer than matches at the end.
88
+
/// **Modifier** - `unordered(\"ATTRIBUTE\")`. Ignore the position of a match within the attribute. Without a
89
+
/// modifier, matches at the beginning of an attribute rank higher than matches at the end.
90
90
publicvarsearchableAttributes:[String]?
91
91
/// An object with custom data. You can store up to 32kB as custom data.
0 commit comments