24 include_once
'Services/Search/classes/class.ilAdvancedSearch.php';
51 if($this->db->isMysql4_0OrHigher())
53 $query .=
" WHERE MATCH(taxon) AGAINST('";
54 foreach($this->query_parser->getQuotedWords(
true) as $word)
59 $query .=
"' IN BOOLEAN MODE) ";
63 $query .=
" WHERE MATCH (taxon) AGAINST(' ";
64 foreach($this->query_parser->getQuotedWords(
true) as $word)
76 if($this->db->isMysql4_0OrHigher())
78 $query .=
" WHERE MATCH(keyword) AGAINST('";
79 foreach($this->query_parser->getQuotedWords(
true) as $word)
84 $query .=
"' IN BOOLEAN MODE) ";
88 $query .=
" WHERE MATCH (keyword) AGAINST(' ";
89 foreach($this->query_parser->getQuotedWords(
true) as $word)
102 if($this->db->isMysql4_0OrHigher())
104 $query .=
" WHERE MATCH(meta_version) AGAINST('";
105 foreach($this->query_parser->getQuotedWords(
true) as $word)
110 $query .=
"' IN BOOLEAN MODE) ";
114 $query .=
" WHERE MATCH (meta_version) AGAINST(' ";
115 foreach($this->query_parser->getQuotedWords(
true) as $word)
128 if($this->db->isMysql4_0OrHigher())
130 $query .=
" WHERE MATCH(entity) AGAINST('";
131 foreach($this->query_parser->getQuotedWords(
true) as $word)
136 $query .=
"' IN BOOLEAN MODE) ";
140 $query .=
" WHERE MATCH (entity) AGAINST(' ";
141 foreach($this->query_parser->getQuotedWords(
true) as $word)
153 if($this->db->isMysql4_0OrHigher())
155 $query .=
" AND MATCH(coverage) AGAINST('";
156 foreach($this->query_parser->getQuotedWords(
true) as $word)
161 $query .=
"' IN BOOLEAN MODE) ";
165 $query .=
" AND MATCH (coverage) AGAINST(' ";
166 foreach($this->query_parser->getQuotedWords(
true) as $word)
179 if($this->db->isMysql4_0OrHigher())
181 $query .=
" WHERE MATCH(title,description) AGAINST('";
182 foreach($this->query_parser->getQuotedWords(
true) as $word)
187 $query .=
"' IN BOOLEAN MODE) ";
191 $query .=
" WHERE MATCH (title,description) AGAINST(' ";
192 foreach($this->query_parser->getQuotedWords(
true) as $word)