3declare(strict_types=1);
26 $this->
lng = $DIC->language();
27 $this->setting =
$DIC->settings();
32 return "src_lucene_indexer";
37 return $this->
lng->txt(
"cron_lucene_index");
42 return $this->
lng->txt(
"cron_lucene_index_info");
68 $error_message =
null;
72 CLIENT_ID .
'_' . $this->setting->get(
'inst_id',
"0"),
75 }
catch (Exception
$e) {
76 $error_message =
$e->getMessage();
80 'Indexing will continoue without a proper return message. View ilServer log if you think there are problems while indexing.');
81 $error_message =
null;
88 $result->setMessage($error_message);
93 $result->setStatus($status);
120 }
catch (Exception
$e) {
121 $error_message =
$e->getMessage();
const SCHEDULE_TYPE_DAILY
@depracated This will be replaced with an ENUM in ILIAS 9
static getLogger(string $a_component_id)
Get component logger.
getDefaultScheduleValue()
static updateLuceneIndex(array $a_obj_ids)
Update lucene index.
hasAutoActivation()
Is to be activated on "installation", does only work for ILIAS core cron jobs.
Class ilRpcClientException.
static factory(string $a_package, int $a_timeout=0)
Creates an ilRpcClient instance to our ilServer.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...