Detailed Description
Member Function Documentation
ilLuceneFileSearch::ilLuceneFileSearch |
( |
& |
$qp_obj | ) |
|
& ilLuceneFileSearch::performSearch |
( |
| ) |
|
Definition at line 50 of file class.ilLuceneFileSearch.php.
References $res.
{
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('file'));
$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());
}
}
return $result;
}
The documentation for this class was generated from the following file: