Skip to content

Commit 19b448f

Browse files
algolia-botClaraMullershortcuts
committed
refactor(specs): add interface to manipulate query parameter between composition API & Search API (generated)
algolia/api-clients-automation#5123 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clara Muller <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 0dee688 commit 19b448f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/Model/Composition/Params.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ public function getGetRankingInfo()
436436
/**
437437
* Sets getRankingInfo.
438438
*
439-
* @param null|bool $getRankingInfo whether the search response should include detailed ranking information
439+
* @param null|bool $getRankingInfo whether the run response should include detailed ranking information
440440
*
441441
* @return self
442442
*/
@@ -748,7 +748,7 @@ public function getQueryLanguages()
748748
/**
749749
* Sets queryLanguages.
750750
*
751-
* @param null|SupportedLanguage[] $queryLanguages 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/).
751+
* @param null|SupportedLanguage[] $queryLanguages 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/).
752752
*
753753
* @return self
754754
*/
@@ -772,7 +772,7 @@ public function getNaturalLanguages()
772772
/**
773773
* Sets naturalLanguages.
774774
*
775-
* @param null|SupportedLanguage[] $naturalLanguages ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches): - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
775+
* @param null|SupportedLanguage[] $naturalLanguages ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches) - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
776776
*
777777
* @return self
778778
*/
@@ -796,7 +796,7 @@ public function getEnableRules()
796796
/**
797797
* Sets enableRules.
798798
*
799-
* @param null|bool $enableRules whether to enable rules
799+
* @param null|bool $enableRules whether to enable composition rules
800800
*
801801
* @return self
802802
*/
@@ -820,7 +820,7 @@ public function getRuleContexts()
820820
/**
821821
* Sets ruleContexts.
822822
*
823-
* @param null|string[] $ruleContexts Assigns a rule context to the search query. [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
823+
* @param null|string[] $ruleContexts Assigns a rule context to the run query [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
824824
*
825825
* @return self
826826
*/
@@ -868,7 +868,7 @@ public function getClickAnalytics()
868868
/**
869869
* Sets clickAnalytics.
870870
*
871-
* @param null|bool $clickAnalytics Whether to include a `queryID` attribute in the response. The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
871+
* @param null|bool $clickAnalytics Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
872872
*
873873
* @return self
874874
*/
@@ -940,7 +940,7 @@ public function getEnableABTest()
940940
/**
941941
* Sets enableABTest.
942942
*
943-
* @param null|bool $enableABTest whether to enable A/B testing for this search
943+
* @param null|bool $enableABTest Whether to enable index level A/B testing for this run request. If the composition mixes multiple indices, the A/B test is ignored.
944944
*
945945
* @return self
946946
*/
@@ -964,7 +964,7 @@ public function getEnableReRanking()
964964
/**
965965
* Sets enableReRanking.
966966
*
967-
* @param null|bool $enableReRanking Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/). This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
967+
* @param null|bool $enableReRanking Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
968968
*
969969
* @return self
970970
*/

0 commit comments

Comments
 (0)