35 include_once
'Services/Search/classes/class.ilAbstractSearch.php';
65 $this->mode = $a_mode;
90 echo
"ilMDSearch::performSearch() no mode given";
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 ".
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 ".
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 ".
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 ".
196 $this->search_result->addEntry(
$row->rbac_id,
$row->obj_type,$this->__prepareFound(
$row),
$row->obj_id);