HCE Project PHP language client API bindings  1.5.1
Hierarchical Cluster Engine PHP Client Interface API
 All Classes Namespaces Files Functions Variables Pages
hce_sphinx_api.inc.php File Reference

Go to the source code of this file.

Namespaces

namespace  HCE

Functions

 hce_sphinx_admin_request ($request_array, $connection_array=null, $response_timeout=HCE_MSG_RESPONSE_TIMEOUT)
 hce_sphinx_prepare_request ($command, $parameters_array)
 hce_sphinx_parse_response ($response_body)
 hce_sphinx_admin_message_create ($admin_request_body)
 hce_sphinx_exec ($command, $options_array, $connection_array, $timeout)
 hce_sphinx_search_create_json ($parameters_array)
 hce_sphinx_search_prepare_parameters ($query_string, $parameters=null, $order=null)
 hce_sphinx_search_parse_json ($response_body)
 hce_sphinx_search_result_get ($result, $struct_name, $field_name=null, $index=null)

Variables

 defined ('SPHINX_JSON_USE_BASE64') or define('SPHINX_JSON_USE_BASE64'

Function Documentation

hce_sphinx_admin_message_create (   $admin_request_body)

Definition at line 227 of file hce_sphinx_api.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

hce_sphinx_admin_request (   $request_array,
  $connection_array = null,
  $response_timeout = HCE_MSG_RESPONSE_TIMEOUT 
)

Definition at line 145 of file hce_sphinx_api.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

hce_sphinx_exec (   $command,
  $options_array,
  $connection_array,
  $timeout 
)

Definition at line 238 of file hce_sphinx_api.inc.php.

Here is the call graph for this function:

hce_sphinx_parse_response (   $response_body)

Definition at line 217 of file hce_sphinx_api.inc.php.

Here is the caller graph for this function:

hce_sphinx_prepare_request (   $command,
  $parameters_array 
)

Definition at line 206 of file hce_sphinx_api.inc.php.

Here is the caller graph for this function:

hce_sphinx_search_create_json (   $parameters_array)

Definition at line 271 of file hce_sphinx_api.inc.php.

hce_sphinx_search_parse_json (   $response_body)

Definition at line 429 of file hce_sphinx_api.inc.php.

hce_sphinx_search_prepare_parameters (   $query_string,
  $parameters = null,
  $order = null 
)

Definition at line 316 of file hce_sphinx_api.inc.php.

Here is the call graph for this function:

hce_sphinx_search_result_get (   $result,
  $struct_name,
  $field_name = null,
  $index = null 
)

Definition at line 471 of file hce_sphinx_api.inc.php.

Variable Documentation

defined('HCE_SPHINX_SEARCH_RESULTS_SWEIGHT') or define('HCE_SPHINX_SEARCH_RESULTS_SWEIGHT'

Define and init Sphinx FO encode base64 usage, 0 - not used, 1 - used

Define and init Sphinx request type - admin.

Define and init Sphinx request timeout ms.

Define and init Sphinx error codes.

Define and init Sphinx search admin command names.

Define and init Sphinx search protocol json fields names

Define and init Sphinx Functional Object protocol consts for search

Define and init Sphinx Functional Object protocol consts for results json

Definition at line 19 of file hce_sphinx_api.inc.php.