Rule
algoliasearch.search.Rule
case class Rule(objectID: String, conditions: Option[Seq[Condition]], consequence: Option[Consequence], description: Option[String], enabled: Option[Boolean], validity: Option[Seq[TimeRange]])
Rule object.
Value parameters
- conditions
-
Conditions required to activate a rule. You can use up to 25 conditions per rule.
- description
-
Description of the rule's purpose. This can be helpful for display in the Algolia dashboard.
- enabled
-
Indicates whether to enable the rule. If it isn't enabled, it isn't applied at query time.
- objectID
-
Unique identifier for a rule object.
- validity
-
If you specify a validity period, the rule only applies only during that period. If specified, the array must not be empty.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article