Home >Backend Development >PHP Tutorial >coreseek-shpinx-mmseg - coreseek在 searchd服务后,通过php接口文件sphinxapi.php 就无法成功??

coreseek-shpinx-mmseg - coreseek在 searchd服务后,通过php接口文件sphinxapi.php 就无法成功??

WBOY
WBOYOriginal
2016-06-06 20:25:331110browse

请教大家一个问题,我的环境是win10, 在cmd命令行下, coreseek-3.2.14-win32 一切正常,但在 searchd服务后,通过php接口文件sphinxapi.php 就无法成功?? 求大神指导!!代码错误提示如下

SphinxClient Object ( [_host] => localhost [_port] => 9312 [_offset] => 0 [_limit] => 20 [_mode] => 1 [_weights] => Array ( ) [_sort] => 0 [_sortby] => [_min_id] => 0 [_max_id] => 0 [_filters] => Array ( ) [_groupby] => [_groupfunc] => 0 [_groupsort] => @group desc [_groupdistinct] => [_maxmatches] => 1000 [_cutoff] => 0 [_retrycount] => 0 [_retrydelay] => 0 [_anchor] => Array ( ) [_indexweights] => Array ( ) [_ranker] => 0 [_rankexpr] => [_maxquerytime] => 0 [_fieldweights] => Array ( ) [_overrides] => Array ( ) [_select] => * [_error] => connection to localhost:9312 failed (errno=10060, msg=由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。) [_warning] => [_connerror] => 1 [_reqs] => Array ( ) [_mbenc] => [_arrayresult] => 1 [_timeout] => 5 [_path] => [_socket] => )coreseek-shpinx-mmseg - coreseek在 searchd服务后,通过php接口文件sphinxapi.php 就无法成功??

回复内容:

请教大家一个问题,我的环境是win10, 在cmd命令行下, coreseek-3.2.14-win32 一切正常,但在 searchd服务后,通过php接口文件sphinxapi.php 就无法成功?? 求大神指导!!代码错误提示如下

SphinxClient Object ( [_host] => localhost [_port] => 9312 [_offset] => 0 [_limit] => 20 [_mode] => 1 [_weights] => Array ( ) [_sort] => 0 [_sortby] => [_min_id] => 0 [_max_id] => 0 [_filters] => Array ( ) [_groupby] => [_groupfunc] => 0 [_groupsort] => @group desc [_groupdistinct] => [_maxmatches] => 1000 [_cutoff] => 0 [_retrycount] => 0 [_retrydelay] => 0 [_anchor] => Array ( ) [_indexweights] => Array ( ) [_ranker] => 0 [_rankexpr] => [_maxquerytime] => 0 [_fieldweights] => Array ( ) [_overrides] => Array ( ) [_select] => * [_error] => connection to localhost:9312 failed (errno=10060, msg=由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。) [_warning] => [_connerror] => 1 [_reqs] => Array ( ) [_mbenc] => [_arrayresult] => 1 [_timeout] => 5 [_path] => [_socket] => )coreseek-shpinx-mmseg - coreseek在 searchd服务后,通过php接口文件sphinxapi.php 就无法成功??

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn