24 include_once
'Services/Search/classes/class.ilWikiContentSearch.php';
50 if($this->db->getDbType() ==
"mysql")
52 $where .=
" WHERE MATCH(content,title) AGAINST('";
53 foreach($this->query_parser->getQuotedWords(
true) as $word)
58 $where .=
"' IN BOOLEAN MODE) ";
60 else if($this->db->getDbType() ==
"oracle")
64 foreach($this->query_parser->getQuotedWords(
true) as $word)
66 $where.=
" ".$sep.
" ";
67 $where.= $this->db->like(
"content",
"clob", $word);
69 $where.= $this->db->like(
"title",
"text", $word);