◆ ilLuceneFileSearch()
ilLuceneFileSearch::ilLuceneFileSearch |
( |
& |
$qp_obj | ) |
|
◆ performSearch()
& ilLuceneFileSearch::performSearch |
( |
| ) |
|
Definition at line 50 of file class.ilLuceneFileSearch.php.
References $res, and $result.
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(
'file'));
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());
The documentation for this class was generated from the following file: