57 static $seas_ref_id = 0;
63 $query =
"SELECT object_reference.ref_id as ref_id FROM object_reference,tree,object_data ".
64 "WHERE tree.parent = '".SYSTEM_FOLDER_ID.
"' ".
65 "AND object_data.type = 'seas' ".
66 "AND object_reference.ref_id = tree.child ".
67 "AND object_reference.obj_id = object_data.obj_id";
69 $res = $ilDB->query($query);
72 return $seas_ref_id = $row->ref_id;
77 return $this->index ?
true :
false;
81 $this->index = $a_status;
85 return $this->lucene ?
true :
false;
89 $this->lucene = $a_status ?
true :
false;
98 $this->max_hits = $a_max_hits;
105 $this->ilias->setSetting(
'search_max_hits',$this->
getMaxHits());
106 $this->ilias->setSetting(
'search_index',$this->
enabledIndex());
107 $this->ilias->setSetting(
'search_lucene',(
int) $this->
enabledLucene());
115 $this->
setMaxHits($this->ilias->getSetting(
'search_max_hits',50));
116 $this->
enableIndex($this->ilias->getSetting(
'search_index',0));
117 $this->
enableLucene($this->ilias->getSetting(
'search_lucene',0));