35include_once
'Services/Search/classes/class.ilForumSearch.php';
48 $concat =
$ilDB->concat(
50 array(
'pos_subject',
'text'),
51 array(
'pos_message',
'text'))
56 foreach ($this->query_parser->getQuotedWords() as $word) {
61 #$and .= ("LIKE ('%".$word."%')");
62 $and .=
$ilDB->like($concat,
'clob',
'%' . $word .
'%');
71 $field =
'thr_subject ';
75 foreach ($this->query_parser->getQuotedWords() as $word) {
80 #$and .= ("LIKE ('%".$word."%')");
81 $and .=
$ilDB->like($field,
'text',
'%' . $word .
'%');
An exception for terminatinating execution or to throw for unit testing.
__createPostAndCondition()
__createTopicAndCondition()