here's what you wanna do:
take the search string and work it so it has pluses instead of spaces and commas:
$search_modded=str_replace(",","",$_GET[search]);
$search_modded=str_replace(" ","+",$search_modded);
$search_modded="+".$search_modded;
then....
SELECT , ( (1.3 (MATCH(title) AGAINST
('$search_modded' IN BOOLEAN MODE))) +
(0.6 * (MATCH(description) AGAINST ('$search_modded' IN BOOLEAN MODE)))
) AS relevance FROM jobs
WHERE ( MATCH(title,description) AGAINST
('$search_modded' IN BOOLEAN MODE) ) ORDER BY relevance DESC
in this example you can actually adjust the weight of the 2 columns that are searched...(title and description)...and it sorts it by relevance pretty good...
i got this off of http://dev.mysql.com/doc ... after searching for hours and hours of course...
if you want to see a working example go to
http://www.cbcjobs.com