Skip to content

Commit 89c89c2

Browse files
committed
2 parents 18c97db + 0bec713 commit 89c89c2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/DSL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ Example for the [filters](https://www.algolia.com/doc/api-reference/api-paramete
3939
val query = query {
4040
filters {
4141
and {
42-
+facet("color", "red")
43-
+facet("category", "shirt")
42+
facet("color", "red")
43+
facet("category", "shirt")
4444
}
4545
orNumeric {
46-
+range("price", 0 until 10)
47-
+comparison("price", Equals, 15)
46+
range("price", 0 until 10)
47+
comparison("price", Equals, 15)
4848
}
4949
}
5050
}
@@ -56,8 +56,8 @@ Example for the [optionalFilters](https://www.algolia.com/doc/api-reference/api-
5656
val query = query("query") {
5757
optionalFilters {
5858
and {
59-
+facet("category", "Book")
60-
+facet("author", "John Doe")
59+
facet("category", "Book")
60+
facet("author", "John Doe")
6161
}
6262
}
6363
}
@@ -87,7 +87,7 @@ val settings = settings {
8787
```kotlin
8888
val director = Attribute("director")
8989
val rules = rules {
90-
+rule(
90+
rule(
9191
"director_rule",
9292
Condition(Contains, Facet(director)),
9393
Consequence(

0 commit comments

Comments
 (0)