Skip to content

Commit 8264c7a

Browse files
committed
fix(specs): Separators are non-alphanumeric characters (generated)
algolia/api-clients-automation#3978 Co-authored-by: algolia-bot <[email protected]>
1 parent 8a7b0a7 commit 8264c7a

File tree

4 files changed

+32
-16
lines changed

4 files changed

+32
-16
lines changed

algoliasearch/src/main/java/com/algolia/model/recommend/FallbackParams.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,10 +1022,14 @@ public FallbackParams setSeparatorsToIndex(String separatorsToIndex) {
10221022
}
10231023

10241024
/**
1025-
* Controls which separators are indexed. Separators are all non-letter characters except spaces
1026-
* and currency characters, such as $€£¥. By default, separator characters aren't indexed. With
1027-
* `separatorsToIndex`, Algolia treats separator characters as separate words. For example, a
1028-
* search for `C#` would report two matches.
1025+
* Control which non-alphanumeric characters are indexed. By default, Algolia ignores
1026+
* [non-alphanumeric
1027+
* 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)
1028+
* like hyphen (`-`), plus (`+`), and parentheses (`(`,`)`). To include such characters, define
1029+
* them with `separatorsToIndex`. Separators are all non-letter characters except spaces and
1030+
* currency characters, such as $€£¥. With `separatorsToIndex`, Algolia treats separator
1031+
* characters as separate words. For example, in a search for \"Disney+\", Algolia considers
1032+
* \"Disney\" and \"+\" as two separate words.
10291033
*/
10301034
@javax.annotation.Nullable
10311035
public String getSeparatorsToIndex() {

algoliasearch/src/main/java/com/algolia/model/recommend/RecommendSearchParams.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,10 +1022,14 @@ public RecommendSearchParams setSeparatorsToIndex(String separatorsToIndex) {
10221022
}
10231023

10241024
/**
1025-
* Controls which separators are indexed. Separators are all non-letter characters except spaces
1026-
* and currency characters, such as $€£¥. By default, separator characters aren't indexed. With
1027-
* `separatorsToIndex`, Algolia treats separator characters as separate words. For example, a
1028-
* search for `C#` would report two matches.
1025+
* Control which non-alphanumeric characters are indexed. By default, Algolia ignores
1026+
* [non-alphanumeric
1027+
* 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)
1028+
* like hyphen (`-`), plus (`+`), and parentheses (`(`,`)`). To include such characters, define
1029+
* them with `separatorsToIndex`. Separators are all non-letter characters except spaces and
1030+
* currency characters, such as $€£¥. With `separatorsToIndex`, Algolia treats separator
1031+
* characters as separate words. For example, in a search for \"Disney+\", Algolia considers
1032+
* \"Disney\" and \"+\" as two separate words.
10291033
*/
10301034
@javax.annotation.Nullable
10311035
public String getSeparatorsToIndex() {

algoliasearch/src/main/java/com/algolia/model/search/IndexSettings.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,10 +487,14 @@ public IndexSettings setSeparatorsToIndex(String separatorsToIndex) {
487487
}
488488

489489
/**
490-
* Controls which separators are indexed. Separators are all non-letter characters except spaces
491-
* and currency characters, such as $€£¥. By default, separator characters aren't indexed. With
492-
* `separatorsToIndex`, Algolia treats separator characters as separate words. For example, a
493-
* search for `C#` would report two matches.
490+
* Control which non-alphanumeric characters are indexed. By default, Algolia ignores
491+
* [non-alphanumeric
492+
* 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)
493+
* like hyphen (`-`), plus (`+`), and parentheses (`(`,`)`). To include such characters, define
494+
* them with `separatorsToIndex`. Separators are all non-letter characters except spaces and
495+
* currency characters, such as $€£¥. With `separatorsToIndex`, Algolia treats separator
496+
* characters as separate words. For example, in a search for \"Disney+\", Algolia considers
497+
* \"Disney\" and \"+\" as two separate words.
494498
*/
495499
@javax.annotation.Nullable
496500
public String getSeparatorsToIndex() {

algoliasearch/src/main/java/com/algolia/model/search/SettingsResponse.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -490,10 +490,14 @@ public SettingsResponse setSeparatorsToIndex(String separatorsToIndex) {
490490
}
491491

492492
/**
493-
* Controls which separators are indexed. Separators are all non-letter characters except spaces
494-
* and currency characters, such as $€£¥. By default, separator characters aren't indexed. With
495-
* `separatorsToIndex`, Algolia treats separator characters as separate words. For example, a
496-
* search for `C#` would report two matches.
493+
* Control which non-alphanumeric characters are indexed. By default, Algolia ignores
494+
* [non-alphanumeric
495+
* 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)
496+
* like hyphen (`-`), plus (`+`), and parentheses (`(`,`)`). To include such characters, define
497+
* them with `separatorsToIndex`. Separators are all non-letter characters except spaces and
498+
* currency characters, such as $€£¥. With `separatorsToIndex`, Algolia treats separator
499+
* characters as separate words. For example, in a search for \"Disney+\", Algolia considers
500+
* \"Disney\" and \"+\" as two separate words.
497501
*/
498502
@javax.annotation.Nullable
499503
public String getSeparatorsToIndex() {

0 commit comments

Comments
 (0)