35include_once 
'Services/Search/classes/class.ilMediaPoolSearch.php';
 
   50        $concat = 
$ilDB->concat(
 
   59        foreach ($this->query_parser->getQuotedWords() as $word) {
 
   64            #$and .= ("LIKE ('%".$word."%')");
 
   65            #$and .= $ilDB->like($concat,'text','%'.$word.'%'); 
   66            $and .= 
$ilDB->like(
'title', 
'text', 
'%' . $word . 
'%');
 
   81        $concat = 
' keyword ';
 
   85        foreach ($this->query_parser->getQuotedWords() as $word) {
 
   89            $and .= 
$ilDB->like($concat, 
'text', 
'%' . $word . 
'%');
 
An exception for terminatinating execution or to throw for unit testing.