Skip to content

Commit

Permalink
fix(specs): Separators are non-alphanumeric characters (generated)
Browse files Browse the repository at this point in the history
  • Loading branch information
algolia-bot committed Oct 16, 2024
1 parent 8a7b0a7 commit 8264c7a
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1022,10 +1022,14 @@ public FallbackParams setSeparatorsToIndex(String separatorsToIndex) {
}

/**
* 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.
*/
@javax.annotation.Nullable
public String getSeparatorsToIndex() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1022,10 +1022,14 @@ public RecommendSearchParams setSeparatorsToIndex(String separatorsToIndex) {
}

/**
* 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.
*/
@javax.annotation.Nullable
public String getSeparatorsToIndex() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,14 @@ public IndexSettings setSeparatorsToIndex(String separatorsToIndex) {
}

/**
* 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.
*/
@javax.annotation.Nullable
public String getSeparatorsToIndex() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,14 @@ public SettingsResponse setSeparatorsToIndex(String separatorsToIndex) {
}

/**
* 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.
*/
@javax.annotation.Nullable
public String getSeparatorsToIndex() {
Expand Down

0 comments on commit 8264c7a

Please sign in to comment.