From 916b1fe53e368892ea6c8d4c1ee7bb9561cce766 Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Wed, 16 Oct 2024 12:30:44 +0000 Subject: [PATCH] fix(specs): Separators are non-alphanumeric characters (generated) https://github.com/algolia/api-clients-automation/pull/3978 Co-authored-by: algolia-bot --- packages/algoliasearch/lite/model/baseIndexSettings.ts | 2 +- packages/client-search/model/baseIndexSettings.ts | 2 +- packages/recommend/model/baseIndexSettings.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/algoliasearch/lite/model/baseIndexSettings.ts b/packages/algoliasearch/lite/model/baseIndexSettings.ts index 518d642f2..51d450a35 100644 --- a/packages/algoliasearch/lite/model/baseIndexSettings.ts +++ b/packages/algoliasearch/lite/model/baseIndexSettings.ts @@ -64,7 +64,7 @@ export type BaseIndexSettings = { numericAttributesForFiltering?: Array; /** - * 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. */ separatorsToIndex?: string; diff --git a/packages/client-search/model/baseIndexSettings.ts b/packages/client-search/model/baseIndexSettings.ts index 518d642f2..51d450a35 100644 --- a/packages/client-search/model/baseIndexSettings.ts +++ b/packages/client-search/model/baseIndexSettings.ts @@ -64,7 +64,7 @@ export type BaseIndexSettings = { numericAttributesForFiltering?: Array; /** - * 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. */ separatorsToIndex?: string; diff --git a/packages/recommend/model/baseIndexSettings.ts b/packages/recommend/model/baseIndexSettings.ts index 518d642f2..51d450a35 100644 --- a/packages/recommend/model/baseIndexSettings.ts +++ b/packages/recommend/model/baseIndexSettings.ts @@ -64,7 +64,7 @@ export type BaseIndexSettings = { numericAttributesForFiltering?: Array; /** - * 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. */ separatorsToIndex?: string;