Opened 4 years ago
Closed 4 years ago
#37 closed defect (fixed)
Search fails with multiple word strings
| Reported by: | yomguy | Owned by: | olivier |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4 |
| Component: | Search | Version: | |
| Keywords: | Cc: |
Description
It seems that the search method is incomplete or broken. Whereas all requests with a simple word string is well treated, all requests with multiple word string fail.
Tested with "hochet" and "danse du hochet":
Change History (1)
comment:1 Changed 4 years ago by olivier
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Actually, the search engine worked well. But very simply, as in many website. It simply looked for titles containing:
But, in the database, there is two spaces between "du" and "hochet", so that you must search for:
Anyway, I've improved this in r351. The spaces, dots, asterisks and dashes are now used as wildcards, so that in this example you can search for any of the following:
This also works for the creator and title criteria in the advanced search.