搜索

大约有 29 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0041秒)

1.RE: 获取索引对象就报错supplied argument is not a valid stream resource

发布时间:2012-08-10 16:08 t By hightman

应该是与服务端建立连接没有成功吧

2.RE: 获取索引对象就报错supplied argument is not a valid stream resource

更新时间:2012-08-27 20:08 t By xiaofeng

可能是你没有开启监听服务,你先查下 8383或者8384 端口的状态(查询命令: netstat -an |grep 8383),如果没有输出信息,你可以试着对照你本机环境运行下面的命令(先切换到你本机xunsearch的安装目录下): bin/xs-ctl.sh -b local start...

3.获取索引对象就报错supplied argument is not a valid stream resource

更新时间:2012-08-09 17:08 t By blueo

....php(2207): stream_set_blocking(): supplied argument is not a valid stream resource(2) thrown in /home/wwwroot/xunsearch/sdk/php/lib/XS.php on line 504 刚接触xunsearch,还请高手多多指教

4.RE: xunsearch服务器一到晚上就死了,重启后又好了,我把日志贴上来

发布时间:2012-02-22 22:02 t By jatwxf

...出来,三个进程,有一个进程starce就不动,另外一个提示Resource temporarily unavailable 14179 ? 00:00:00 xs-searchd 14186 ? 00:00:01 xs-searchd 14193 ? 00:00:00 xs-searchd 14212 pts/0 00:00:00 ps 31168 ? 00:00:47 xs-indexd 31171 ? 00:00:00 ...

5.SCWS-php扩展的说明及用法

发布时间:2007-06-07 18:06 t By hightman

...,将无法正确操作。包含的方法有: class SimpledCWS { resource handle; bool close(void); bool set_charset(string charset) bool set_dict(string dict_path) bool set_rule(string rule_path) bool set_ignore(bool yes) bool set_multi(bool yes) bool send_text(string t...

6.XSDatabasePgSQL::close

close() 方法 public void close() 源码: sdk/php/util/XSDataSource.class.php#L569 (显示) public function close(){ if (is_resource($this->link)) { pg_close($this->link); $this->link = null; }} 关闭数据库连接

7.使用scws例子报错,附上全部细节,请大牛帮忙

更新时间:2013-05-06 20:05 t By sojet

...dy\fenci.php on line 4 Warning: scws_set_dict() expects parameter 1 to be resource, null given in E:\soft\PHPnow-1.5.6\htdocs\phpstudy\fenci.php on line 4 Notice: Undefined variable: sh in E:\soft\PHPnow-1.5.6\htdocs\phpstudy\fenci.php on line 5 Warning: scws_set_rule() expects parameter 1 to be ...

8.搜索时出错!!!

更新时间:2012-08-03 11:08 t By renzhig

....php(2213): stream_set_blocking(): supplied argument is not a valid stream resource(2)[/b] 代码: try { include '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('demo'); $docs = $xs->search->search('15'); } catch (XSException $e) { echo $e; // 直接输出异常描述...

9.XSDatabaseSQLite::query

...tion('SQLITE ERROR: ' . sqlite_error_string($this->link)); } if (!is_resource($res)) { $ret = $res; } else { $ret = array(); while ($tmp = sqlite_fetch_array($res, SQLITE_ASSOC)) { $ret[] = $tmp; } } return $ret;} 执行 SQL 语句查询

10.XSDatabaseMySQL::query

...ql_errno($this->link) . '): ' . mysql_error($this->link)); } if (!is_resource($res)) { $ret = $res; } else { $ret = array(); while ($tmp = mysql_fetch_assoc($res)) { $ret[] = $tmp; } mysql_free_result($res); } return $ret;} 执行 SQL ...

123
  • 时间不限
  • 按相关性排序