45 $this->query_parser =& $qp_obj;
49 include_once
'./Services/Search/classes/Lucene/class.ilLuceneRPCAdapter.php';
50 include_once
'./Services/Search/classes/class.ilSearchResult.php';
55 $rpc_adapter->setMode(
'query');
56 $rpc_adapter->setSearchFilter(array(
'file'));
57 $rpc_adapter->setQueryString($this->query_parser->getLuceneQueryString());
59 if((
$res = $rpc_adapter->send()) ===
false)
61 $this->log->error(
'Lucene searcher: Error performing search');
65 foreach(
$res as $obj_id => $obj_type)
67 $result->addEntry($obj_id,$obj_type,array());
ilLuceneFileSearch(&$qp_obj)
Constructor public.
static getLogger($a_component_id)
Get component logger.