Skip to content

Commit 3c5370c

Browse files
algolia-botkai687millotp
committed
fix(specs): condition cant be numeric filter (generated)
algolia/api-clients-automation#4726 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 4ae06e1 commit 3c5370c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Search/Models/SearchCondition.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ public struct SearchCondition: Codable, JSONEncodable {
1919
/// parameter. For example, if `context: mobile`, the rule is only triggered when the search request has a matching
2020
/// `ruleContexts: mobile`. A rule context must only contain alphanumeric characters.
2121
public var context: String?
22-
/// Filters that trigger the rule. You can add add filters using the syntax `facet:value` so that the rule is
22+
/// Filters that trigger the rule. You can add filters using the syntax `facet:value` so that the rule is
2323
/// triggered, when the specific filter is selected. You can use `filters` on its own or combine it with the
24-
/// `pattern` parameter.
24+
/// `pattern` parameter. You can't combine multiple filters with `OR` and you can't use numeric filters.
2525
public var filters: String?
2626

2727
public init(

0 commit comments

Comments
 (0)