首頁 > 後端開發 > php教程 > coreseek-shpinx-mmseg - coreseek在 searchd服务后,通过php接口文件sphinxapi.php 就无法成功??

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

WBOY
發布: 2016-06-06 20:25:33
原創
1113 人瀏覽過

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

相關標籤:
php
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板