4 include_once
"Services/Cron/classes/class.ilCronJob.php";
24 return "src_lucene_indexer";
33 return $lng->txt(
"cron_lucene_index");
42 return $lng->txt(
"cron_lucene_index_info");
47 return self::SCHEDULE_TYPE_DAILY;
72 $error_message = null;
75 include_once
'./Services/WebServices/RPC/classes/class.ilRpcClientFactory.php';
77 CLIENT_ID .
'_' .
$ilSetting->get(
'inst_id', 0),
81 $error_message = $e->getMessage();
85 'Indexing will continoue without a proper return message. View ilServer log if you think there are problems while indexing.');
86 $error_message = null;
93 $result->setMessage($error_message);
113 include_once
'./Services/Search/classes/class.ilSearchSettings.php';
121 include_once
'./Services/WebServices/RPC/classes/class.ilRpcClientFactory.php';
123 CLIENT_ID .
'_' .
$ilSetting->get(
'inst_id', 0),
128 $error_message = $e->getMessage();
getDefaultScheduleValue()
Cron job application base class.
static factory($a_package, $a_timeout=0)
Creates an ilRpcClient instance to our ilServer.
static updateLuceneIndex($a_obj_ids)
Update lucene index.
Class ilRpcClientException.
static getLogger($a_component_id)
Get component logger.
Cron job result data container.