35include_once 
'Services/Search/classes/class.ilMetaDataSearch.php';
 
   47        $concat = 
' keyword ';
 
   50        foreach ($this->query_parser->getQuotedWords() as $word) {
 
   54            $where .= 
$ilDB->like($concat, 
'text', 
'%' . $word . 
'%');
 
   56            #$where .= (" LIKE ('%".$word."%')");
 
   70        foreach ($this->query_parser->getQuotedWords() as $word) {
 
   75            #$where .= (" LIKE ('%".$word."%')");
 
   76            $where .= 
$ilDB->like($concat, 
'text', 
'%' . $word . 
'%');
 
   92        $concat = 
$ilDB->concat(
 
   94                array(
'title',
'text'),
 
   95                array(
'coverage',
'text'))
 
  101        foreach ($this->query_parser->getQuotedWords() as $word) {
 
  106            #$where .= (" LIKE ('%".$word."%')");
 
  107            $where .= 
$ilDB->like($concat, 
'text', 
'%' . $word . 
'%');
 
  109        return $where . 
' )';
 
  118        $concat = 
' description ';
 
  121        foreach ($this->query_parser->getQuotedWords() as $word) {
 
  126            #$where .= (" LIKE ('%".$word."%')");
 
  127            $where .= 
$ilDB->like($concat, 
'text', 
'%' . $word . 
'%');
 
  129        return $where . 
') ';
 
An exception for terminatinating execution or to throw for unit testing.