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: Sources/Composition/Models/CompositionParams.swift
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ public struct CompositionParams: Codable, JSONEncodable {
25
25
publicvarfilters:String?
26
26
/// Page of search results to retrieve.
27
27
publicvarpage:Int?
28
-
/// Whether the search response should include detailed ranking information.
28
+
/// Whether the run response should include detailed ranking information.
29
29
publicvargetRankingInfo:Bool?
30
30
publicvarrelevancyStrictness:Int?
31
31
publicvarfacetFilters:CompositionFacetFilters?
@@ -51,38 +51,39 @@ public struct CompositionParams: Codable, JSONEncodable {
51
51
/// This parameter is ignored if you also specify `insideBoundingBox`.
52
52
publicvarinsidePolygon:[[Double]]?
53
53
/// Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection
54
-
/// dictionaries. This setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals`
54
+
/// dictionaries This setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals`
55
55
/// 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)
56
-
/// languages. To support this, you must place the CJK language **first**. **You should always specify a query
56
+
/// languages. To support this, you must place the CJK language **first** **You should always specify a query
57
57
/// 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/),
58
58
/// or the languages you specified with the `ignorePlurals` or `removeStopWords` parameters. This can lead to
59
59
/// 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/).
/// 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)
68
+
/// 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)
69
69
/// are strings that you can use to trigger matching rules.
70
70
publicvarruleContexts:[String]?
71
71
/// Unique pseudonymous or anonymous user identifier. This helps with analytics and click and conversion events.
72
72
/// For more information, see [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
73
73
publicvaruserToken:String?
74
-
/// Whether to include a `queryID` attribute in the response. The query ID is a unique identifier for a search
75
-
/// query and is required for tracking [click and conversion
74
+
/// Whether to include a `queryID` attribute in the responseThe query ID is a unique identifier for a search query
75
+
/// and is required for tracking [click and conversion
0 commit comments