Skip to content

Commit

Permalink
fix(specs): Separators are non-alphanumeric characters (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3978

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
  • Loading branch information
algolia-bot committed Oct 16, 2024
1 parent a56f22e commit a066ab9
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 21 deletions.
8 changes: 5 additions & 3 deletions Sources/Recommend/Models/FallbackParams.swift
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,11 @@ public struct FallbackParams: Codable, JSONEncodable {
/// specify an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** -
/// `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
public var numericAttributesForFiltering: [String]?
/// Controls which separators are indexed. Separators are all non-letter characters except spaces and currency
/// characters, such as $€£¥. By default, separator characters aren't indexed. With `separatorsToIndex`, Algolia
/// treats separator characters as separate words. For example, a search for `C#` would report two matches.
/// Control which non-alphanumeric characters are indexed. By default, Algolia ignores [non-alphanumeric characters](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes/#handling-non-alphanumeric-characters)
/// like hyphen (`-`), plus (`+`), and parentheses (`(`,`)`). To include such characters, define them with
/// `separatorsToIndex`. Separators are all non-letter characters except spaces and currency characters, such as
/// $€£¥. With `separatorsToIndex`, Algolia treats separator characters as separate words. For example, in a search
/// for \"Disney+\", Algolia considers \"Disney\" and \"+\" as two separate words.
public var separatorsToIndex: String?
/// Attributes used for searching. Attribute names are case-sensitive. By default, all attributes are searchable
/// and the [Attribute](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute)
Expand Down
8 changes: 5 additions & 3 deletions Sources/Recommend/Models/RecommendBaseIndexSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ public struct RecommendBaseIndexSettings: Codable, JSONEncodable {
/// specify an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** -
/// `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
public var numericAttributesForFiltering: [String]?
/// Controls which separators are indexed. Separators are all non-letter characters except spaces and currency
/// characters, such as $€£¥. By default, separator characters aren't indexed. With `separatorsToIndex`, Algolia
/// treats separator characters as separate words. For example, a search for `C#` would report two matches.
/// Control which non-alphanumeric characters are indexed. By default, Algolia ignores [non-alphanumeric characters](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes/#handling-non-alphanumeric-characters)
/// like hyphen (`-`), plus (`+`), and parentheses (`(`,`)`). To include such characters, define them with
/// `separatorsToIndex`. Separators are all non-letter characters except spaces and currency characters, such as
/// $€£¥. With `separatorsToIndex`, Algolia treats separator characters as separate words. For example, in a search
/// for \"Disney+\", Algolia considers \"Disney\" and \"+\" as two separate words.
public var separatorsToIndex: String?
/// Attributes used for searching. Attribute names are case-sensitive. By default, all attributes are searchable
/// and the [Attribute](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute)
Expand Down
8 changes: 5 additions & 3 deletions Sources/Recommend/Models/RecommendIndexSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,11 @@ public struct RecommendIndexSettings: Codable, JSONEncodable {
/// specify an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** -
/// `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
public var numericAttributesForFiltering: [String]?
/// Controls which separators are indexed. Separators are all non-letter characters except spaces and currency
/// characters, such as $€£¥. By default, separator characters aren't indexed. With `separatorsToIndex`, Algolia
/// treats separator characters as separate words. For example, a search for `C#` would report two matches.
/// Control which non-alphanumeric characters are indexed. By default, Algolia ignores [non-alphanumeric characters](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes/#handling-non-alphanumeric-characters)
/// like hyphen (`-`), plus (`+`), and parentheses (`(`,`)`). To include such characters, define them with
/// `separatorsToIndex`. Separators are all non-letter characters except spaces and currency characters, such as
/// $€£¥. With `separatorsToIndex`, Algolia treats separator characters as separate words. For example, in a search
/// for \"Disney+\", Algolia considers \"Disney\" and \"+\" as two separate words.
public var separatorsToIndex: String?
/// Attributes used for searching. Attribute names are case-sensitive. By default, all attributes are searchable
/// and the [Attribute](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute)
Expand Down
8 changes: 5 additions & 3 deletions Sources/Recommend/Models/RecommendSearchParams.swift
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,11 @@ public struct RecommendSearchParams: Codable, JSONEncodable {
/// specify an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** -
/// `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
public var numericAttributesForFiltering: [String]?
/// Controls which separators are indexed. Separators are all non-letter characters except spaces and currency
/// characters, such as $€£¥. By default, separator characters aren't indexed. With `separatorsToIndex`, Algolia
/// treats separator characters as separate words. For example, a search for `C#` would report two matches.
/// Control which non-alphanumeric characters are indexed. By default, Algolia ignores [non-alphanumeric characters](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes/#handling-non-alphanumeric-characters)
/// like hyphen (`-`), plus (`+`), and parentheses (`(`,`)`). To include such characters, define them with
/// `separatorsToIndex`. Separators are all non-letter characters except spaces and currency characters, such as
/// $€£¥. With `separatorsToIndex`, Algolia treats separator characters as separate words. For example, in a search
/// for \"Disney+\", Algolia considers \"Disney\" and \"+\" as two separate words.
public var separatorsToIndex: String?
/// Attributes used for searching. Attribute names are case-sensitive. By default, all attributes are searchable
/// and the [Attribute](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute)
Expand Down
8 changes: 5 additions & 3 deletions Sources/Search/Models/IndexSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,11 @@ public struct IndexSettings: Codable, JSONEncodable {
/// specify an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** -
/// `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
public var numericAttributesForFiltering: [String]?
/// Controls which separators are indexed. Separators are all non-letter characters except spaces and currency
/// characters, such as $€£¥. By default, separator characters aren't indexed. With `separatorsToIndex`, Algolia
/// treats separator characters as separate words. For example, a search for `C#` would report two matches.
/// Control which non-alphanumeric characters are indexed. By default, Algolia ignores [non-alphanumeric characters](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes/#handling-non-alphanumeric-characters)
/// like hyphen (`-`), plus (`+`), and parentheses (`(`,`)`). To include such characters, define them with
/// `separatorsToIndex`. Separators are all non-letter characters except spaces and currency characters, such as
/// $€£¥. With `separatorsToIndex`, Algolia treats separator characters as separate words. For example, in a search
/// for \"Disney+\", Algolia considers \"Disney\" and \"+\" as two separate words.
public var separatorsToIndex: String?
/// Attributes used for searching. Attribute names are case-sensitive. By default, all attributes are searchable
/// and the [Attribute](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute)
Expand Down
8 changes: 5 additions & 3 deletions Sources/Search/Models/SearchBaseIndexSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ public struct SearchBaseIndexSettings: Codable, JSONEncodable {
/// specify an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** -
/// `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
public var numericAttributesForFiltering: [String]?
/// Controls which separators are indexed. Separators are all non-letter characters except spaces and currency
/// characters, such as $€£¥. By default, separator characters aren't indexed. With `separatorsToIndex`, Algolia
/// treats separator characters as separate words. For example, a search for `C#` would report two matches.
/// Control which non-alphanumeric characters are indexed. By default, Algolia ignores [non-alphanumeric characters](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes/#handling-non-alphanumeric-characters)
/// like hyphen (`-`), plus (`+`), and parentheses (`(`,`)`). To include such characters, define them with
/// `separatorsToIndex`. Separators are all non-letter characters except spaces and currency characters, such as
/// $€£¥. With `separatorsToIndex`, Algolia treats separator characters as separate words. For example, in a search
/// for \"Disney+\", Algolia considers \"Disney\" and \"+\" as two separate words.
public var separatorsToIndex: String?
/// Attributes used for searching. Attribute names are case-sensitive. By default, all attributes are searchable
/// and the [Attribute](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute)
Expand Down
8 changes: 5 additions & 3 deletions Sources/Search/Models/SettingsResponse.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ public struct SettingsResponse: Codable, JSONEncodable {
/// specify an attribute that doesn't exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** -
/// `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
public var numericAttributesForFiltering: [String]?
/// Controls which separators are indexed. Separators are all non-letter characters except spaces and currency
/// characters, such as $€£¥. By default, separator characters aren't indexed. With `separatorsToIndex`, Algolia
/// treats separator characters as separate words. For example, a search for `C#` would report two matches.
/// Control which non-alphanumeric characters are indexed. By default, Algolia ignores [non-alphanumeric characters](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes/#handling-non-alphanumeric-characters)
/// like hyphen (`-`), plus (`+`), and parentheses (`(`,`)`). To include such characters, define them with
/// `separatorsToIndex`. Separators are all non-letter characters except spaces and currency characters, such as
/// $€£¥. With `separatorsToIndex`, Algolia treats separator characters as separate words. For example, in a search
/// for \"Disney+\", Algolia considers \"Disney\" and \"+\" as two separate words.
public var separatorsToIndex: String?
/// Attributes used for searching. Attribute names are case-sensitive. By default, all attributes are searchable
/// and the [Attribute](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute)
Expand Down

0 comments on commit a066ab9

Please sign in to comment.