File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ Note that MeiliSearch will rebuild your index whenever you update `filterableAtt
170170Then, you can perform the search:
171171
172172``` ruby
173- index.search(' road ' , { filter: [' id > 2 AND genres = Adventure ' ] })
173+ index.search(' wonder ' , { filter: [' id > 1 AND genres = Action ' ] })
174174```
175175
176176JSON output:
@@ -179,17 +179,17 @@ JSON output:
179179{
180180 "hits" : [
181181 {
182- "id" : 4 ,
183- "title" : " Mad Max: Fury Road " ,
182+ "id" : 2 ,
183+ "title" : " Wonder Woman " ,
184184 "genres" : [
185- " Adventure " ,
186- " Science Fiction "
185+ " Action " ,
186+ " Adventure "
187187 ]
188188 }
189189 ],
190190 "nbHits" : 1 ,
191191 "exhaustiveNbHits" : false ,
192- "query" : " road " ,
192+ "query" : " wonder " ,
193193 "limit" : 20 ,
194194 "offset" : 0 ,
195195 "processingTimeMs" : 0
You can’t perform that action at this time.
0 commit comments