35include_once
'Services/Search/classes/class.ilForumSearch.php';
49 $concat =
$ilDB->concat(
51 array(
'pos_subject',
'text'),
52 array(
'pos_message',
'text')));
56 foreach($this->query_parser->getQuotedWords() as $word)
63 #$and .= ("LIKE ('%".$word."%')");
64 $and .=
$ilDB->like($concat,
'clob',
'%'.$word.
'%');
73 $field =
'thr_subject ';
77 foreach($this->query_parser->getQuotedWords() as $word)
84 #$and .= ("LIKE ('%".$word."%')");
85 $and .=
$ilDB->like($field,
'text',
'%'.$word.
'%');
An exception for terminatinating execution or to throw for unit testing.
__createPostAndCondition()
__createTopicAndCondition()