Opened 6 years ago

Closed 6 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:


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 6 years ago by olivier

  • Resolution set to fixed
  • Status changed from new to closed

Actually, the search engine worked well. But very simply, as in many website. It simply looked for titles containing:

danse du hochet

But, in the database, there is two spaces between "du" and "hochet", so that you must search for:

danse du  hochet

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:

danse du hochet
danse hochet

This also works for the creator and title criteria in the advanced search.

Note: See TracTickets for help on using tickets.