|
80 | 80 | "enable_ab_test": "enableABTest",
|
81 | 81 | "attributes_to_retrieve": "attributesToRetrieve",
|
82 | 82 | "ranking": "ranking",
|
83 |
| - "custom_ranking": "customRanking", |
84 | 83 | "relevancy_strictness": "relevancyStrictness",
|
85 | 84 | "attributes_to_highlight": "attributesToHighlight",
|
86 | 85 | "attributes_to_snippet": "attributesToSnippet",
|
|
96 | 95 | "disable_typo_tolerance_on_attributes": "disableTypoToleranceOnAttributes",
|
97 | 96 | "ignore_plurals": "ignorePlurals",
|
98 | 97 | "remove_stop_words": "removeStopWords",
|
99 |
| - "keep_diacritics_on_characters": "keepDiacriticsOnCharacters", |
100 | 98 | "query_languages": "queryLanguages",
|
101 | 99 | "decompound_query": "decompoundQuery",
|
102 | 100 | "enable_rules": "enableRules",
|
@@ -195,8 +193,6 @@ class BrowseParamsObject(BaseModel):
|
195 | 193 | """ Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. Attribute names are case-sensitive. - `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings. - To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`. - The `objectID` attribute is always included. """
|
196 | 194 | ranking: Optional[List[str]] = None
|
197 | 195 | """ Determines the order in which Algolia returns your results. By default, each entry corresponds to a [ranking criteria](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/). The tie-breaking algorithm sequentially applies each criterion in the order they're specified. If you configure a replica index for [sorting by an attribute](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-by-attribute/), you put the sorting attribute at the top of the list. **Modifiers** - `asc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in ascending order. - `desc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in descending order. Before you modify the default setting, you should test your changes in the dashboard, and by [A/B testing](https://www.algolia.com/doc/guides/ab-testing/what-is-ab-testing/). """
|
198 |
| - custom_ranking: Optional[List[str]] = None |
199 |
| - """ Attributes to use as [custom ranking](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/). Attribute names are case-sensitive. The custom ranking attributes decide which items are shown first if the other ranking criteria are equal. Records with missing values for your selected custom ranking attributes are always sorted last. Boolean attributes are sorted based on their alphabetical order. **Modifiers** - `asc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in ascending order. - `desc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in descending order. If you use two or more custom ranking attributes, [reduce the precision](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/how-to/controlling-custom-ranking-metrics-precision/) of your first attributes, or the other attributes will never be applied. """ |
200 | 196 | relevancy_strictness: Optional[int] = None
|
201 | 197 | """ Relevancy threshold below which less relevant results aren't included in the results. You can only set `relevancyStrictness` on [virtual replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/#what-are-virtual-replicas). Use this setting to strike a balance between the relevance and number of returned results. """
|
202 | 198 | attributes_to_highlight: Optional[List[str]] = None
|
@@ -224,8 +220,6 @@ class BrowseParamsObject(BaseModel):
|
224 | 220 | """ Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/). Attribute names are case-sensitive. Returning only exact matches can help when: - [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes/). - Reducing the number of matches when you have too many. This can happen with attributes that are long blocks of text, such as product descriptions. Consider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos. """
|
225 | 221 | ignore_plurals: Optional[IgnorePlurals] = None
|
226 | 222 | remove_stop_words: Optional[RemoveStopWords] = None
|
227 |
| - keep_diacritics_on_characters: Optional[str] = None |
228 |
| - """ Characters for which diacritics should be preserved. By default, Algolia removes diacritics from letters. For example, `é` becomes `e`. If this causes issues in your search, you can specify characters that should keep their diacritics. """ |
229 | 223 | query_languages: Optional[List[SupportedLanguage]] = None
|
230 | 224 | """ Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries. This setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings. This setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages. To support this, you must place the CJK language **first**. **You should always specify a query language.** If you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/), or the languages you specified with the `ignorePlurals` or `removeStopWords` parameters. This can lead to unexpected search results. For more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/). """
|
231 | 225 | decompound_query: Optional[bool] = None
|
|
0 commit comments