France-ioi / AlgoreaBackend

Backend for the new Algorea platform
MIT License
2 stars 2 forks source link

Search: do a "AND" on words #1023

Closed smadbe closed 4 months ago

smadbe commented 9 months ago

Motivations

Currently if I search for "ranger", I got the item named "ranger des billes":

curl 'https://dev.algorea.org/api/items/search?search=ranger&limit=11&types_include=Chapter,Task,Task'  -H 'Authorization: ...' 

but if I look for "ranger billes", I get an empty result:

curl 'https://dev.algorea.org/api/items/search?search=ranger%20billes&limit=11&types_include=Chapter,Task,Task'  -H 'Authorization: ...' 

Subtasks