ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
ilLuceneRPCAdapter () | |
setMode ($a_mode) | |
getMode () | |
setFiles (&$files) | |
& | getFiles () |
setHTLMs (&$htlms) | |
& | getHTLMs () |
setQueryString ($a_str) | |
getQueryString () | |
setPageNumber ($a_number) | |
getPageNumber () | |
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 () | |
setResultIds ($a_ids) | |
set result ids | |
getResultIds () | |
get result ids | |
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 = '' | |
$page_number | |
$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 |
Protected Member Functions | |
__prepareSearchParams () | |
Prepare search parameters. | |
__prepareHighlightParams () | |
Prepare search parameters. | |
__prepareRefreshSettingsParams () | |
getClientKey () | |
Get client key. |
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 105 of file class.ilLuceneRPCAdapter.php.
Referenced by __prepareFlushIndex(), __prepareIndexFileParams(), __prepareIndexHTLMParams(), __preparePingParams(), and __prepareQueryParams().
ilLuceneRPCAdapter::__prepareFlushIndex | ( | ) |
Definition at line 213 of file class.ilLuceneRPCAdapter.php.
References __getClientId(), ilRPCServerAdapter\__initMessage(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
|
protected |
Prepare search parameters.
Definition at line 239 of file class.ilLuceneRPCAdapter.php.
References ilRPCServerAdapter\__initMessage(), getClientKey(), getQueryString(), getResultIds(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
ilLuceneRPCAdapter::__prepareIndexFileParams | ( | ) |
Definition at line 185 of file class.ilLuceneRPCAdapter.php.
References $params, __getClientId(), ilRPCServerAdapter\__initMessage(), getFiles(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
ilLuceneRPCAdapter::__prepareIndexHTLMParams | ( | ) |
Definition at line 200 of file class.ilLuceneRPCAdapter.php.
References __getClientId(), ilRPCServerAdapter\__initMessage(), getHTLMs(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
ilLuceneRPCAdapter::__preparePingParams | ( | ) |
Definition at line 177 of file class.ilLuceneRPCAdapter.php.
References __getClientId(), ilRPCServerAdapter\__initMessage(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
ilLuceneRPCAdapter::__prepareQueryParams | ( | ) |
Definition at line 162 of file class.ilLuceneRPCAdapter.php.
References $filter, __getClientId(), ilRPCServerAdapter\__initMessage(), getQueryString(), getSearchFilter(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
|
protected |
Definition at line 257 of file class.ilLuceneRPCAdapter.php.
References ilRPCServerAdapter\__initMessage(), getClientKey(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
|
protected |
Prepare search parameters.
Definition at line 225 of file class.ilLuceneRPCAdapter.php.
References ilRPCServerAdapter\__initMessage(), getClientKey(), getPageNumber(), getQueryString(), and ilRPCServerAdapter\setResponseTimeout().
Referenced by send().
|
protected |
Get client key.
Definition at line 290 of file class.ilLuceneRPCAdapter.php.
References $ilSetting.
Referenced by __prepareHighlightParams(), __prepareRefreshSettingsParams(), and __prepareSearchParams().
& ilLuceneRPCAdapter::getFiles | ( | ) |
Definition at line 61 of file class.ilLuceneRPCAdapter.php.
Referenced by __prepareIndexFileParams().
& ilLuceneRPCAdapter::getHTLMs | ( | ) |
Definition at line 69 of file class.ilLuceneRPCAdapter.php.
Referenced by __prepareIndexHTLMParams().
ilLuceneRPCAdapter::getMode | ( | ) |
Definition at line 53 of file class.ilLuceneRPCAdapter.php.
References $mode.
Referenced by send().
ilLuceneRPCAdapter::getPageNumber | ( | ) |
Definition at line 86 of file class.ilLuceneRPCAdapter.php.
References $page_number.
Referenced by __prepareSearchParams().
ilLuceneRPCAdapter::getQueryString | ( | ) |
Definition at line 78 of file class.ilLuceneRPCAdapter.php.
References $query_str.
Referenced by __prepareHighlightParams(), __prepareQueryParams(), and __prepareSearchParams().
ilLuceneRPCAdapter::getResultIds | ( | ) |
get result ids
Definition at line 280 of file class.ilLuceneRPCAdapter.php.
Referenced by __prepareHighlightParams().
ilLuceneRPCAdapter::getSearchFilter | ( | ) |
Definition at line 95 of file class.ilLuceneRPCAdapter.php.
Referenced by __prepareQueryParams().
ilLuceneRPCAdapter::ilLuceneRPCAdapter | ( | ) |
Definition at line 44 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 115 of file class.ilLuceneRPCAdapter.php.
References ilRPCServerAdapter\__initClient(), __prepareFlushIndex(), __prepareHighlightParams(), __prepareIndexFileParams(), __prepareIndexHTLMParams(), __preparePingParams(), __prepareQueryParams(), __prepareRefreshSettingsParams(), __prepareSearchParams(), and getMode().
ilLuceneRPCAdapter::setFiles | ( | & | $files | ) |
Definition at line 57 of file class.ilLuceneRPCAdapter.php.
References $files.
ilLuceneRPCAdapter::setHTLMs | ( | & | $htlms | ) |
Definition at line 65 of file class.ilLuceneRPCAdapter.php.
ilLuceneRPCAdapter::setMode | ( | $a_mode | ) |
Definition at line 49 of file class.ilLuceneRPCAdapter.php.
ilLuceneRPCAdapter::setPageNumber | ( | $a_number | ) |
Definition at line 82 of file class.ilLuceneRPCAdapter.php.
ilLuceneRPCAdapter::setQueryString | ( | $a_str | ) |
Definition at line 74 of file class.ilLuceneRPCAdapter.php.
ilLuceneRPCAdapter::setResultIds | ( | $a_ids | ) |
set result ids
array | array of obj ids |
Definition at line 271 of file class.ilLuceneRPCAdapter.php.
ilLuceneRPCAdapter::setSearchFilter | ( | $a_filter | ) |
Definition at line 91 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 41 of file class.ilLuceneRPCAdapter.php.
Referenced by __prepareQueryParams().
ilLuceneRPCAdapter::$mode = '' |
Definition at line 37 of file class.ilLuceneRPCAdapter.php.
Referenced by getMode().
ilLuceneRPCAdapter::$page_number |
Definition at line 40 of file class.ilLuceneRPCAdapter.php.
Referenced by getPageNumber().
ilLuceneRPCAdapter::$query_str = '' |
Definition at line 39 of file class.ilLuceneRPCAdapter.php.
Referenced by getQueryString().