Maison >développement back-end >tutoriel php >coreseek-shpinx-mmseg - coreseek在 searchd服务后,通过php接口文件sphinxapi.php 就无法成功??

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

WBOY
WBOYoriginal
2016-06-06 20:25:331108parcourir

请教大家一个问题,我的环境是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 就无法成功??

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn