35 public function search($user_id, $mail_folder_id)
44 if(!$this->query_parser->getQuery())
49 $ilBench->start(
'Mail',
'LuceneSearch');
52 include_once
'Services/WebServices/RPC/classes/class.ilRpcClientFactory.php';
54 CLIENT_ID .
'_' . $ilSetting->get(
'inst_id', 0),
56 (
string)$this->query_parser->getQuery(),
62 $ilBench->stop(
'Mail',
'LuceneSearch');
63 $ilLog->write(__METHOD__ .
': ' . $e->getMessage());
69 $ilBench->stop(
'Mail',
'LuceneSearch');
70 $ilLog->write(__METHOD__ .
': ' . $e->getMessage());
73 $ilBench->stop(
'Mail',
'LuceneSearch');
75 include_once
'Services/Mail/classes/class.ilMailSearchLuceneResultParser.php';