55 $this->query_parser =& $qp_obj;
58 include_once
'Services/Search/classes/class.ilSearchResult.php';
71 $this->mode = $a_mode;
90 echo
"ilMDSearch::performSearch() no mode given";
101 $field =
" keyword ";
103 foreach($this->query_parser->getQuotedWords() as $word)
107 $where .= strtoupper($this->query_parser->getCombination());
110 $where .= (
"LIKE (".$ilDB->quote(
"%".$word.
"%").
")");
113 $query =
"SELECT * FROM il_meta_keyword".
115 "ORDER BY meta_keyword_id DESC";
117 $res = $this->db->query($query);
120 $this->search_result->addEntry($row->obj_id,$row->obj_type,$row->rbac_id);
123 return $this->search_result;