35include_once
'Services/Search/classes/class.ilMetaDataSearch.php';
45 $concat =
' keyword ';
48 foreach($this->query_parser->getQuotedWords() as $word)
54 $where .=
$ilDB->like($concat,
'text',
'%'.$word.
'%');
56 #$where .= (" LIKE ('%".$word."%')");
68 foreach($this->query_parser->getQuotedWords() as $word)
75 #$where .= (" LIKE ('%".$word."%')");
76 $where .=
$ilDB->like($concat,
'text',
'%'.$word.
'%');
90 $concat =
$ilDB->concat(
92 array(
'title',
'text'),
93 array(
'coverage',
'text')));
98 foreach($this->query_parser->getQuotedWords() as $word)
105 #$where .= (" LIKE ('%".$word."%')");
106 $where .=
$ilDB->like($concat,
'text',
'%'.$word.
'%');
115 $concat =
' description ';
118 foreach($this->query_parser->getQuotedWords() as $word)
125 #$where .= (" LIKE ('%".$word."%')");
126 $where .=
$ilDB->like($concat,
'text',
'%'.$word.
'%');
An exception for terminatinating execution or to throw for unit testing.