35 include_once
'Services/Search/classes/class.ilForumSearch.php';
59 $concat = $ilDB->concat(
61 array(
'pos_subject',
'text'),
62 array(
'pos_message',
'text')));
66 foreach($this->query_parser->getQuotedWords() as $word)
73 #$and .= ("LIKE ('%".$word."%')");
74 $and .= $ilDB->like($concat,
'clob',
'%'.$word.
'%');
83 $field =
'thr_subject ';
87 foreach($this->query_parser->getQuotedWords() as $word)
94 #$and .= ("LIKE ('%".$word."%')");
95 $and .= $ilDB->like($field,
'text',
'%'.$word.
'%');