3 declare(strict_types=1);
29 $this->
lng = $DIC->language();
30 $this->setting = $DIC->settings();
35 return "src_lucene_indexer";
40 return $this->
lng->txt(
"cron_lucene_index");
45 return $this->
lng->txt(
"cron_lucene_index_info");
50 return JobScheduleType::DAILY;
70 $status = JobResult::STATUS_NO_ACTION;
71 $error_message =
null;
75 CLIENT_ID .
'_' . $this->setting->get(
'inst_id',
"0"),
79 $error_message = $e->getMessage();
83 'Indexing will continoue without a proper return message. View ilServer log if you think there are problems while indexing.');
84 $error_message =
null;
91 $result->setMessage($error_message);
92 $status = JobResult::STATUS_FAIL;
94 $status = JobResult::STATUS_OK;
96 $result->setStatus($status);
124 $error_message = $e->getMessage();
getDefaultScheduleValue()
static getLogger(string $a_component_id)
Get component logger.
static updateLuceneIndex(array $a_obj_ids)
Update lucene index.
static factory(string $a_package, int $a_timeout=0)
Creates an ilRpcClient instance to our ilServer.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Class ilRpcClientException.