ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilLuceneIndexer Class Reference
+ Collaboration diagram for ilLuceneIndexer:

Public Member Functions

 __construct ()
 Constructor.
 index ()
 index

Detailed Description

Definition at line 35 of file class.ilLuceneIndexer.php.

Constructor & Destructor Documentation

ilLuceneIndexer::__construct ( )

Constructor.

Definition at line 40 of file class.ilLuceneIndexer.php.

{
}

Member Function Documentation

ilLuceneIndexer::index ( )

index

Returns

Definition at line 49 of file class.ilLuceneIndexer.php.

References $ilLog, $ilSetting, $res, and ilRpcClientFactory\factory().

{
try
{
include_once './Services/WebServices/RPC/classes/class.ilRpcClientFactory.php';
$res = ilRpcClientFactory::factory('RPCIndexHandler')->index(
CLIENT_ID.'_'.$ilSetting->get('inst_id',0),
true
);
}
{
// TODO: better error handling
$ilLog->write(__METHOD__.': '.$e->getMessage());
return;
}
catch(Exception $e)
{
$ilLog->write(__METHOD__.': '.$e->getMessage());
return;
}
}

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: