35 include_once
'Services/Search/classes/class.ilMetaDataSearch.php';
46 parent::ilMetaDataSearch($qp_obj);
53 if($this->db->isMysql4_0OrHigher())
55 $query .=
" WHERE MATCH(keyword) AGAINST('";
56 foreach($this->query_parser->getQuotedWords(
true) as $word)
61 $query .=
"' IN BOOLEAN MODE) ";
66 $query .=
" WHERE MATCH (keyword) AGAINST(' ";
67 foreach($this->query_parser->getQuotedWords(
true) as $word)
79 if($this->db->isMysql4_0OrHigher())
81 $query .=
" WHERE MATCH(entity) AGAINST('";
82 foreach($this->query_parser->getQuotedWords(
true) as $word)
87 $query .=
"' IN BOOLEAN MODE) ";
92 $query .=
" WHERE MATCH (entity) AGAINST(' ";
93 foreach($this->query_parser->getQuotedWords(
true) as $word)
105 if($this->db->isMysql4_0OrHigher())
107 $query .=
" WHERE MATCH(title,coverage) AGAINST('";
108 foreach($this->query_parser->getQuotedWords(
true) as $word)
113 $query .=
"' IN BOOLEAN MODE) ";
118 $query .=
" WHERE MATCH (title,coverage) AGAINST(' ";
119 foreach($this->query_parser->getQuotedWords(
true) as $word)
131 if($this->db->isMysql4_0OrHigher())
133 $query .=
" WHERE MATCH(description) AGAINST('";
134 foreach($this->query_parser->getQuotedWords(
true) as $word)
139 $query .=
"' IN BOOLEAN MODE) ";
144 $query .=
" WHERE MATCH (description) AGAINST(' ";
145 foreach($this->query_parser->getQuotedWords(
true) as $word)