HCE Project PHP language client API bindings
1.5.1
Hierarchical Cluster Engine PHP Client Interface API
|
Go to the source code of this file.
Namespaces | |
namespace | HCE |
Variables | |
defined ('LOG_MODE_JSON') or define('LOG_MODE_JSON' | |
if(php_sapi_name()!=='cli'||!defined('STDIN')) | $args = cli_parse_arguments($argv) |
if(isset($args['h'])||isset($args['help'])||!isset($args['q'])) | $MAX_QUERIES = isset($args['n']) ? $args['n']+0 : '1' |
$MAX_RESULTS = isset($args['r']) ? $args['r']+0 : '10' | |
$REQUEST_DELAY = isset($args['d']) ? $args['d']+0 : 0 | |
$LOG_MODE = isset($args['l']) ? $args['l']+0 : 2 | |
$RESPONSE_TIMEOUT = isset($args['t']) ? ($args['t']+0) : RESPONSE_TIMEOUT_DEFAULT | |
$Connection_host = isset($args['host']) ? $args['host'] : 'localhost' | |
$Connection_port = isset($args['port']) ? $args['port'] : '5556' | |
$Route = isset($args['route']) ? $args['route'] : '' | |
$Client_Identity = isset($args['cid']) ? hce_unique_client_id.$args['cid'] : hce_unique_client_id() | |
$query_string = isset($args['q']) ? str_replace('`', '"', stripslashes($args['q'])) : 'for' | |
$sphinx_timeout = isset($args['sphinx_timeout']) ? ($args['sphinx_timeout']+0) : HCE_SPHINX_SEARCH_FIELD_TIMEOUT_DEFAULT | |
$filters = array() | |
if(isset($args['f'])) | $order = array() |
if(isset($args['s'])) if($LOG_MODE==2) | $ret_arrays_mask = (HCE_SPHINX_SEARCH_RET_TYPE_MI_INFO | HCE_SPHINX_SEARCH_RET_TYPE_RI_INFO | HCE_SPHINX_SEARCH_RET_TYPE_AT_INFO | HCE_SPHINX_SEARCH_RET_TYPE_WI_INFO).'' |
$parameters_array | |
$Request_body = hce_sphinx_search_create_json($parameters_array) |
if (php_sapi_name()!=='cli'||!defined('STDIN')) $args = cli_parse_arguments($argv) |
Definition at line 28 of file search.ini.php.
$Client_Identity = isset($args['cid']) ? hce_unique_client_id.$args['cid'] : hce_unique_client_id() |
Definition at line 51 of file search.ini.php.
$Connection_host = isset($args['host']) ? $args['host'] : 'localhost' |
Definition at line 47 of file search.ini.php.
$Connection_port = isset($args['port']) ? $args['port'] : '5556' |
Definition at line 49 of file search.ini.php.
$filters = array() |
Definition at line 58 of file search.ini.php.
$LOG_MODE = isset($args['l']) ? $args['l']+0 : 2 |
Definition at line 45 of file search.ini.php.
if (isset($args['h'])||isset($args['help'])||!isset($args['q'])) $MAX_QUERIES = isset($args['n']) ? $args['n']+0 : '1' |
Definition at line 42 of file search.ini.php.
$MAX_RESULTS = isset($args['r']) ? $args['r']+0 : '10' |
Definition at line 43 of file search.ini.php.
if (isset($args['f'])) $order = array() |
Definition at line 86 of file search.ini.php.
$parameters_array |
Definition at line 106 of file search.ini.php.
$query_string = isset($args['q']) ? str_replace('`', '"', stripslashes($args['q'])) : 'for' |
Definition at line 53 of file search.ini.php.
$Request_body = hce_sphinx_search_create_json($parameters_array) |
Definition at line 112 of file search.ini.php.
$REQUEST_DELAY = isset($args['d']) ? $args['d']+0 : 0 |
Definition at line 44 of file search.ini.php.
Definition at line 46 of file search.ini.php.
if (isset($args['s'])) if ($LOG_MODE==2) $ret_arrays_mask = (HCE_SPHINX_SEARCH_RET_TYPE_MI_INFO | HCE_SPHINX_SEARCH_RET_TYPE_RI_INFO | HCE_SPHINX_SEARCH_RET_TYPE_AT_INFO | HCE_SPHINX_SEARCH_RET_TYPE_WI_INFO).'' |
Definition at line 105 of file search.ini.php.
$Route = isset($args['route']) ? $args['route'] : '' |
Definition at line 50 of file search.ini.php.
$sphinx_timeout = isset($args['sphinx_timeout']) ? ($args['sphinx_timeout']+0) : HCE_SPHINX_SEARCH_FIELD_TIMEOUT_DEFAULT |
Definition at line 55 of file search.ini.php.
defined('RESPONSE_TIMEOUT_DEFAULT') or define('RESPONSE_TIMEOUT_DEFAULT' |
Definition at line 20 of file search.ini.php.