3 declare(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");
47 return self::SCHEDULE_TYPE_DAILY;
68 $error_message = null;
72 CLIENT_ID .
'_' . $this->setting->get(
'inst_id',
"0"),
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);
121 $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.
Class ilRpcClientException.