note 99927 modified in sphinxclient.query by danbrown
| From: | danbrown@php.net | Date: | Wed, 15 Sep 2010 15:28:30 +0000 |
| Subject: | note 99927 modified in sphinxclient.query by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-172581@lists.php.net to get a copy of this message | ||
There is also a "status" key showing in what status query has ended.
Here are codes, taken from searchd.cpp:
<?php
/// known status return codes
enum SearchdStatus_e
{
SEARCHD_OK = 0, ///< general success, command-specific reply follows
SEARCHD_ERROR = 1, ///< general failure, error message follows
SEARCHD_RETRY = 2, ///< temporary failure, error message follows, client should
retry later
SEARCHD_WARNING = 3 ///< general success, warning message and
command-specific reply follow
};
?>
--was--
There is also a "status" key showing in what status query has ended.
Here are codes, taken from searchd.cpp:
/// known status return codes
enum SearchdStatus_e
{
SEARCHD_OK = 0, ///< general success, command-specific reply follows
SEARCHD_ERROR = 1, ///< general failure, error message follows
SEARCHD_RETRY = 2, ///< temporary failure, error message follows, client should
retry later
SEARCHD_WARNING = 3 ///< general success, warning message and
command-specific reply follow
};
http://php.net/manual/en/sphinxclient.query.php