35 include_once
'Services/Search/classes/class.ilAbstractSearch.php';
65 $this->mode = $a_mode;
90 echo
"ilMDSearch::performSearch() no mode given";
107 $type .= implode(
"','",$this->
getFilter());
110 $in =
" AND obj_type IN ".$type;
120 $where = $this->__createContributeWhereCondition();
123 $query =
"SELECT rbac_id,obj_id,obj_type ".
125 "FROM il_meta_entity ".
128 $res = $this->db->query($query);
131 $this->search_result->addEntry($row->rbac_id,$row->obj_type,$this->__prepareFound($row),$row->obj_id);
143 $where = $this->__createKeywordWhereCondition();
146 $query =
"SELECT rbac_id,obj_id,obj_type ".
148 "FROM il_meta_keyword ".
151 $res = $this->db->query($query);
154 $this->search_result->addEntry($row->rbac_id,$row->obj_type,$this->__prepareFound($row),$row->obj_id);
164 $where = $this->__createTitleWhereCondition();
167 $query =
"SELECT rbac_id,obj_id,obj_type ".
169 "FROM il_meta_general ".
172 $res = $this->db->query($query);
175 $this->search_result->addEntry($row->rbac_id,$row->obj_type,$this->__prepareFound($row),$row->obj_id);
185 $where = $this->__createDescriptionWhereCondition();
188 $query =
"SELECT rbac_id,obj_id,obj_type ".
190 "FROM il_meta_description ".
193 $res = $this->db->query($query);
196 $this->search_result->addEntry($row->rbac_id,$row->obj_type,$this->__prepareFound($row),$row->obj_id);