i am curious whether in a regular fulltext search
mysql_query("SELECT post_subject,topic_id,forum_id,post_text FROM phpbb_posts WHERE MATCH (post_subject,post_text) AGAINST('".$dtitle."') GROUP BY post_subject LIMIT 50")or DIE(mysql_error());
i am able to get the result of number of found matches to sort by.
so i could do something like ORDER BY number_of_keywords desc