Skip to content

Commit 502972d

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 0f66f93 commit 502972d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/scala/algoliasearch/search/Condition.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ import algoliasearch.search.Anchoring._
4949
* parameter. For example, if `context: mobile`, the rule is only triggered when the search request has a matching
5050
* `ruleContexts: mobile`. A rule context must only contain alphanumeric characters.
5151
* @param filters
52-
* Filters that trigger the rule. You can add add filters using the syntax `facet:value` so that the rule is
53-
* triggered, when the specific filter is selected. You can use `filters` on its own or combine it with the `pattern`
54-
* parameter.
52+
* Filters that trigger the rule. You can add filters using the syntax `facet:value` so that the rule is triggered,
53+
* when the specific filter is selected. You can use `filters` on its own or combine it with the `pattern` parameter.
54+
* You can't combine multiple filters with `OR` and you can't use numeric filters.
5555
*/
5656
case class Condition(
5757
pattern: Option[String] = scala.None,

0 commit comments

Comments
 (0)