You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/Model/Composition/Params.php
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -436,7 +436,7 @@ public function getGetRankingInfo()
436
436
/**
437
437
* Sets getRankingInfo.
438
438
*
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
440
440
*
441
441
* @return self
442
442
*/
@@ -748,7 +748,7 @@ public function getQueryLanguages()
748
748
/**
749
749
* Sets queryLanguages.
750
750
*
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/).
752
752
*
753
753
* @return self
754
754
*/
@@ -772,7 +772,7 @@ public function getNaturalLanguages()
772
772
/**
773
773
* Sets naturalLanguages.
774
774
*
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`.
776
776
*
777
777
* @return self
778
778
*/
@@ -796,7 +796,7 @@ public function getEnableRules()
796
796
/**
797
797
* Sets enableRules.
798
798
*
799
-
* @param null|bool $enableRules whether to enable rules
799
+
* @param null|bool $enableRules whether to enable composition rules
800
800
*
801
801
* @return self
802
802
*/
@@ -820,7 +820,7 @@ public function getRuleContexts()
820
820
/**
821
821
* Sets ruleContexts.
822
822
*
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.
824
824
*
825
825
* @return self
826
826
*/
@@ -868,7 +868,7 @@ public function getClickAnalytics()
868
868
/**
869
869
* Sets clickAnalytics.
870
870
*
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/).
872
872
*
873
873
* @return self
874
874
*/
@@ -940,7 +940,7 @@ public function getEnableABTest()
940
940
/**
941
941
* Sets enableABTest.
942
942
*
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.
944
944
*
945
945
* @return self
946
946
*/
@@ -964,7 +964,7 @@ public function getEnableReRanking()
964
964
/**
965
965
* Sets enableReRanking.
966
966
*
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.
0 commit comments