35 include_once
'Services/Search/classes/class.ilMetaDataSearch.php';
45 $concat =
' keyword ';
48 foreach ($this->query_parser->getQuotedWords() as $word) {
52 $where .= $ilDB->like($concat,
'text',
'%' . $word .
'%');
54 #$where .= (" LIKE ('%".$word."%')"); 66 foreach ($this->query_parser->getQuotedWords() as $word) {
71 #$where .= (" LIKE ('%".$word."%')"); 72 $where .= $ilDB->like($concat,
'text',
'%' . $word .
'%');
86 $concat = $ilDB->concat(
88 array(
'title',
'text'),
89 array(
'coverage',
'text'))
95 foreach ($this->query_parser->getQuotedWords() as $word) {
100 #$where .= (" LIKE ('%".$word."%')"); 101 $where .= $ilDB->like($concat,
'text',
'%' . $word .
'%');
103 return $where .
' )';
110 $concat =
' description ';
113 foreach ($this->query_parser->getQuotedWords() as $word) {
118 #$where .= (" LIKE ('%".$word."%')"); 119 $where .= $ilDB->like($concat,
'text',
'%' . $word .
'%');
121 return $where .
') ';
Create styles array
The data for the language used.