◆ __construct()
◆ search()
ilMailLuceneSearcher::search |
( |
|
$user_id, |
|
|
|
$mail_folder_id |
|
) |
| |
- Parameters
-
int | $user_id | |
int | $mail_folder_id | |
- Exceptions
-
Definition at line 44 of file class.ilMailLuceneSearcher.php.
45 {
46 if (!$this->query_parser->getQuery()) {
48 }
49
50 try {
51 include_once 'Services/WebServices/RPC/classes/class.ilRpcClientFactory.php';
53 CLIENT_ID .
'_' . $this->
settings->get(
'inst_id', 0),
54 (int) $user_id,
55 (string) $this->query_parser->getQuery(),
56 (int) $mail_folder_id
57 );
58 } catch (Exception $e) {
59 require_once './Services/Logging/classes/public/class.ilLoggerFactory.php';
61 throw $e;
62 }
63
64 include_once 'Services/Mail/classes/class.ilMailSearchLuceneResultParser.php';
67 }
Base class for ILIAS Exception handling.
static getLogger($a_component_id)
Get component logger.
static factory($a_package, $a_timeout=0)
Creates an ilRpcClient instance to our ilServer.
References $parser, $xml, ilRpcClientFactory\factory(), ilLoggerFactory\getLogger(), and settings().
◆ $query_parser
ilMailLuceneSearcher::$query_parser |
|
protected |
◆ $result
ilMailLuceneSearcher::$result |
|
protected |
◆ $settings
ilMailLuceneSearcher::$settings |
|
protected |
The documentation for this class was generated from the following file: