Hi
I'm writing a search query using keywords - at the moment the search uses FULLTEXT fields and looks like this :
"SELECT *, MATCH (".$fields.") AGAINST ('".$searchKey."') AS score FROM products WHERE MATCH (".$fields.") AGAINST ('".$searchKey."')"
using that query i get the results in order of pertinence BUT as far as i can tell i can't use the '%' wildcard for searching with MATCH - is that correct ?
if I want to use wildcard searching it seems i have to use
SELECT * FROM prducts WHERE LIKE %bla%
but, as far as i can tell, i don't get the results in order of pertinence
so - is there a way of using wildcard matching but still getting the results in order of pertinence ?
thanks