欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

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

程序员文章站 2024-02-05 09:31:04
...

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