ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilLuceneRPCAdapter () | |
setMode ($a_mode) | |
getMode () | |
setFiles (&$files) | |
& | getFiles () |
setHTLMs (&$htlms) | |
& | getHTLMs () |
setQueryString ($a_str) | |
getQueryString () | |
setSearchFilter ($a_filter) | |
getSearchFilter () | |
__getClientId () | |
Create a unique client id. | |
send () | |
Send message to remote rpc server and get response. | |
__prepareQueryParams () | |
__preparePingParams () | |
__prepareIndexFileParams () | |
__prepareIndexHTLMParams () | |
__prepareFlushIndex () | |
Public Member Functions inherited from ilRPCServerAdapter | |
ilRPCServerAdapter () | |
setResponseTimeout ($a_response_timeout) | |
__checkPear () | |
__initClient () | |
Create RPC client object. | |
__initMessage ($a_message_name, $params) | |
Create RPC message object. |
Data Fields | |
$mode = '' | |
$files = array() | |
$query_str = '' | |
$filter = '' | |
Data Fields inherited from ilRPCServerAdapter | |
$response_timeout = RPC_TIMEOUT | |
$log = null | |
$db = null | |
$err = null | |
$settings_obj = null | |
$rpc_client = null | |
$rpc_message = null |
Definition at line 35 of file class.ilLuceneRPCAdapter.php.
ilLuceneRPCAdapter::__getClientId | ( | ) |
Create a unique client id.
Since the lucene index can be used from multiple ILIAS-Installations it must be unique over installations
Definition at line 96 of file class.ilLuceneRPCAdapter.php.
Referenced by __prepareFlushIndex(), __prepareIndexFileParams(), __prepareIndexHTLMParams(), __preparePingParams(), and __prepareQueryParams().
ilLuceneRPCAdapter::__prepareFlushIndex | ( | ) |
Definition at line 190 of file class.ilLuceneRPCAdapter.php.
References __getClientId(), ilRPCServerAdapter\__initMessage(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
ilLuceneRPCAdapter::__prepareIndexFileParams | ( | ) |
Definition at line 162 of file class.ilLuceneRPCAdapter.php.
References __getClientId(), ilRPCServerAdapter\__initMessage(), getFiles(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
ilLuceneRPCAdapter::__prepareIndexHTLMParams | ( | ) |
Definition at line 177 of file class.ilLuceneRPCAdapter.php.
References __getClientId(), ilRPCServerAdapter\__initMessage(), getHTLMs(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
ilLuceneRPCAdapter::__preparePingParams | ( | ) |
Definition at line 154 of file class.ilLuceneRPCAdapter.php.
References __getClientId(), ilRPCServerAdapter\__initMessage(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
ilLuceneRPCAdapter::__prepareQueryParams | ( | ) |
Definition at line 139 of file class.ilLuceneRPCAdapter.php.
References $filter, __getClientId(), ilRPCServerAdapter\__initMessage(), getQueryString(), getSearchFilter(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
& ilLuceneRPCAdapter::getFiles | ( | ) |
Definition at line 60 of file class.ilLuceneRPCAdapter.php.
Referenced by __prepareIndexFileParams().
& ilLuceneRPCAdapter::getHTLMs | ( | ) |
Definition at line 68 of file class.ilLuceneRPCAdapter.php.
Referenced by __prepareIndexHTLMParams().
ilLuceneRPCAdapter::getMode | ( | ) |
Definition at line 52 of file class.ilLuceneRPCAdapter.php.
References $mode.
Referenced by send().
ilLuceneRPCAdapter::getQueryString | ( | ) |
Definition at line 77 of file class.ilLuceneRPCAdapter.php.
References $query_str.
Referenced by __prepareQueryParams().
ilLuceneRPCAdapter::getSearchFilter | ( | ) |
Definition at line 86 of file class.ilLuceneRPCAdapter.php.
Referenced by __prepareQueryParams().
ilLuceneRPCAdapter::ilLuceneRPCAdapter | ( | ) |
Definition at line 43 of file class.ilLuceneRPCAdapter.php.
References ilRPCServerAdapter\ilRPCServerAdapter().
ilLuceneRPCAdapter::send | ( | ) |
Send message to remote rpc server and get response.
protected
Reimplemented from ilRPCServerAdapter.
Definition at line 106 of file class.ilLuceneRPCAdapter.php.
References ilRPCServerAdapter\__initClient(), __prepareFlushIndex(), __prepareIndexFileParams(), __prepareIndexHTLMParams(), __preparePingParams(), __prepareQueryParams(), and getMode().
ilLuceneRPCAdapter::setFiles | ( | & | $files | ) |
Definition at line 56 of file class.ilLuceneRPCAdapter.php.
References $files.
ilLuceneRPCAdapter::setHTLMs | ( | & | $htlms | ) |
Definition at line 64 of file class.ilLuceneRPCAdapter.php.
ilLuceneRPCAdapter::setMode | ( | $a_mode | ) |
Definition at line 48 of file class.ilLuceneRPCAdapter.php.
ilLuceneRPCAdapter::setQueryString | ( | $a_str | ) |
Definition at line 73 of file class.ilLuceneRPCAdapter.php.
ilLuceneRPCAdapter::setSearchFilter | ( | $a_filter | ) |
Definition at line 82 of file class.ilLuceneRPCAdapter.php.
ilLuceneRPCAdapter::$files = array() |
Definition at line 38 of file class.ilLuceneRPCAdapter.php.
Referenced by setFiles().
ilLuceneRPCAdapter::$filter = '' |
Definition at line 40 of file class.ilLuceneRPCAdapter.php.
Referenced by __prepareQueryParams().
ilLuceneRPCAdapter::$mode = '' |
Definition at line 37 of file class.ilLuceneRPCAdapter.php.
Referenced by getMode().
ilLuceneRPCAdapter::$query_str = '' |
Definition at line 39 of file class.ilLuceneRPCAdapter.php.
Referenced by getQueryString().