Skip to content

Commit da4ebd9

Browse files
committed
fix: saveRule
1 parent 3626f04 commit da4ebd9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/CTS/requests/search/saveRule.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@
247247
],
248248
"consequence": {
249249
"params": {
250+
"restrictSearchableAttributes": ["title", "book_id"],
250251
"automaticFacetFilters": [{
251252
"facet":"director"
252253
}],
@@ -385,8 +386,8 @@
385386
}
386387
],
387388
"consequence": {
388-
"params": {
389-
"optionalFilters": "clearance:true"
389+
"userData": {
390+
"redirect": "https://www.algolia.com/support"
390391
}
391392
}
392393
}
@@ -556,13 +557,13 @@
556557
"body": {
557558
"objectID": "promote-harry-potter-box-set",
558559
"conditions": [{
559-
"pattern": "iPhone",
560+
"pattern": "Harry Potter",
560561
"anchoring": "contains"
561562
}],
562563
"consequence": {
563564
"promote": [
564565
{
565-
"objectID": "iPhone-12345",
566+
"objectID": "HP-12345",
566567
"position": 0
567568
}
568569
]

0 commit comments

Comments
 (0)