35include_once
'Services/Search/classes/class.ilForumSearch.php';
50 $concat =
$ilDB->concat(
52 array(
'pos_subject',
'text'),
53 array(
'pos_message',
'text'))
58 foreach ($this->query_parser->getQuotedWords() as $word) {
63 #$and .= ("LIKE ('%".$word."%')");
64 $and .=
$ilDB->like($concat,
'clob',
'%' . $word .
'%');
75 $field =
'thr_subject ';
79 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()