35 include_once
'Services/Search/classes/class.ilForumSearch.php';
52 if($this->db->isMysql4_0OrHigher())
54 $query .=
" AND MATCH(thr_subject) AGAINST('";
55 foreach($this->query_parser->getQuotedWords(
true) as $word)
60 $query .=
"' IN BOOLEAN MODE) ";
65 $query .=
" AND MATCH (thr_subject) AGAINST(' ";
66 foreach($this->query_parser->getQuotedWords(
true) as $word)
79 if($this->db->isMysql4_0OrHigher())
81 $query .=
" AND MATCH(pos_message,pos_subject) AGAINST('";
82 foreach($this->query_parser->getQuotedWords(
true) as $word)
87 $query .=
"' IN BOOLEAN MODE) ";
92 $query .=
" AND MATCH (pos_message,pos_subject) AGAINST(' ";
93 foreach($this->query_parser->getQuotedWords(
true) as $word)