Detailed Description
Member Function Documentation
ilLuceneHTLMSearch::ilLuceneHTLMSearch |
( |
& |
$qp_obj | ) |
|
& ilLuceneHTLMSearch::performSearch |
( |
| ) |
|
Definition at line 50 of file class.ilLuceneHTLMSearch.php.
References $res, and $result.
{
include_once './Services/Search/classes/Lucene/class.ilLuceneRPCAdapter.php';
include_once './Services/Search/classes/class.ilSearchResult.php';
$rpc_adapter->setMode('query');
$rpc_adapter->setSearchFilter(array('htlm'));
$rpc_adapter->setQueryString($this->query_parser->getLuceneQueryString());
if((
$res = $rpc_adapter->send()) ===
false)
{
$this->log->write('Lucene searcher: Error performing search');
}
{
foreach(
$res as $obj_id => $obj_type)
{
$result->addEntry($obj_id,$obj_type,array());
}
}
}
The documentation for this class was generated from the following file: