48 $this->query_parser =& $qp_obj;
52 include_once
'./Services/Search/classes/Lucene/class.ilLuceneRPCAdapter.php';
53 include_once
'./Services/Search/classes/class.ilSearchResult.php';
58 $rpc_adapter->setMode(
'query');
59 $rpc_adapter->setSearchFilter(array(
'htlm'));
60 $rpc_adapter->setQueryString($this->query_parser->getLuceneQueryString());
62 if((
$res = $rpc_adapter->send()) ===
false)
64 $this->log->write(
'Lucene searcher: Error performing search');
68 foreach(
$res as $obj_id => $obj_type)
70 $result->addEntry($obj_id,$obj_type,array());