@@ -19,7 +19,7 @@ class QueryTests: XCTestCase {
19
19
. set ( \. explainModules, to: [ . matchAlternatives] )
20
20
. set ( \. attributesToRetrieve, to: [ " attr1 " , " attr2 " , " attr3 " ] )
21
21
. set ( \. restrictSearchableAttributes, to: [ " rattr1 " , " rattr2 " ] )
22
- . set ( \. filters, to: " (color:red OR color:yellow) AND on-sale " )
22
+ . set ( \. filters, to: " (color:red OR color:yellow) AND on-sale AND 12+ " )
23
23
. set ( \. facetFilters, to: [ . or( " color:red " , " color:blue " ) , " size:M " ] )
24
24
. set ( \. optionalFilters, to: [ . or( " color:red " , " color:yellow " ) , " on-sale " ] )
25
25
. set ( \. numericFilters, to: [ . or( " price>100 " , " length<1000 " ) , " metrics>5 " ] )
@@ -95,7 +95,7 @@ class QueryTests: XCTestCase {
95
95
" explainModules=match.alternatives " ,
96
96
" attributesToRetrieve=attr1,attr2,attr3 " ,
97
97
" restrictSearchableAttributes=rattr1,rattr2 " ,
98
- " filters=(color:red%20OR%20color:yellow)%20AND%20on-sale " ,
98
+ " filters=(color:red%20OR%20color:yellow)%20AND%20on-sale%20AND%2012%2B " ,
99
99
" facetFilters=%5B%5B%22color:red%22,%22color:blue%22%5D,%22size:M%22%5D " ,
100
100
" optionalFilters=%5B%5B%22color:red%22,%22color:yellow%22%5D,%22on-sale%22%5D " ,
101
101
" numericFilters=%5B%5B%22price%3E100%22,%22length%3C1000%22%5D,%22metrics%3E5%22%5D " ,
@@ -189,7 +189,7 @@ class QueryTests: XCTestCase {
189
189
" explainModules " : [ " match.alternatives " ] ,
190
190
" attributesToRetrieve " : [ " attr1 " , " attr2 " , " attr3 " ] ,
191
191
" restrictSearchableAttributes " : [ " rattr1 " , " rattr2 " ] ,
192
- " filters " : " (color:red OR color:yellow) AND on-sale " ,
192
+ " filters " : " (color:red OR color:yellow) AND on-sale AND 12+ " ,
193
193
" facetFilters " : [ [ " color:red " , " color:blue " ] , " size:M " ] ,
194
194
" optionalFilters " : [ [ " color:red " , " color:yellow " ] , " on-sale " ] ,
195
195
" numericFilters " : [ [ " price>100 " , " length<1000 " ] , " metrics>5 " ] ,
0 commit comments