hello,
do any1 has an idea on how to integrate compite search solution for mysql text fields. i have it working now with the match and against syntaxys but i need to regonize "some word" as a frase , coz for now i;m spliting the query words.
for now i;m using something like that
// Edit querywords
$query_trim = trim(preg_replace('/[\-\:\/\"\&\%\#\@\!\)\(\<\>\*\,\?\;\|\=\^\~\`\]\[]/' , ' ' , $querywords));
$keywords = explode(' ', addslashes(strtolower($query_trim)));
$regular_expression= "" . implode(",", $keywords) . "";
$keyWordArray=split(",",$regular_expression);
$arrSize=sizeof($keyWordArray);
$Keys='';
for($i=0;$i<$arrSize;$i++) {
$Keys=$Keys.$keyWordArray[$i].' ';
}
$Keys=trim($Keys);
and then
$search = "SELECT name,summary,MATCH(name,summary) AGAINST('$Keys') AS rel FROM $stable WHERE MATCH(name,summary) AGAINST('$Keys') ORDER BY $order $way LIMIT $count, $pages";
i need to intergrate the google like "query words" syntax and parse whats in brakets as one word