搜索

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

61.XSTokenizerScws::getTokens

...ens = array(); $this->setIgnore(true); // save charset, force to use UTF-8 $_charset = self::$_charset; self::$_charset = 'UTF-8'; $words = $this->getResult($value); foreach ($words as $word) { $tokens[] = $word['word']; } // restore charset self::$_charset = $_char...

62.XSDatabaseMySQL::setUtf8

...tf8", $this->link); } return false;} 将输出字符集设置为 UTF-8

63.修改SDK连接异常提示

更新时间:2012-04-24 14:04 t By zlhgo

...示的异常信息默认采用的是GBK编码,而我项目里使用的是UTF-8编码,这样我把异常信息记录到数据库日志的时候,因为编码不统一,就会抛出PDO异常。 谢谢。

64.XSDatabasePDO_MySQL::setUtf8

...bj->prepare("SET NAMES utf8")->execute();} 将输出字符集设置为 UTF-8

65.搜索单个汉字时,总返回空,例如搜索"我"等

发布时间:2011-11-04 16:11 t By kuday

这是配置文件 project.name = knowledge project.default_charset = UTF-8 server.index = 192.168.171.22:8383 server.search = 192.168.171.22:8384 [pid] type = id [itemid] [title] index = mixed [content] type=body cutlen=600 [categoryid] index = self [category] index=n...

66.scws-1.0.0 正式发布 (含php扩展及2文本词典)

更新时间:2010-01-29 13:01 t By hightman

...php][color=#2244aa]http://www.hightman.cn/demo/scws/v4.php[/color][/url] UTF-8: [url=http://www.ftphp.com/scws/demo/v48.php][color=#2244aa]http://www.hightman.cn/demo/scws/v48.php[/color][/url] 繁体: [url=http://www.ftphp.com/scws/demo/v48.cht.php]http://www.hightman.cn/demo/scws/v48.cht.php[/...

67.RE: 分词初试,结果不对

更新时间:2010-09-16 17:09 t By xiaowang19

终于OK了 我在UTF-8演示文件第77行,即“$cws->set_charset('utf8');”这一句后面再补上两句(参考GBK版本): $cws->set_rule(ini_get('scws.default.fpath') . '/rules.utf8.ini'); $cws->set_dict(ini_get('scws.default.fpath') . '/dict.utf8.xdb'); 再次运行,分词正确...

68.XSDatabaseMySQLI

...数据库首行 XSDatabase setUtf8() 将输出字符集设置为 UTF-8 XSDatabaseMySQLI 方法明细 close() 方法 public void close() 源码: sdk/php/util/XSDataSource.class.php#L641 (显示) public function close(){ if ($this->obj) { $this->obj->close(); ...

69.XSTokenizer

... $value, XSDocument $doc=NULL) $value string 待分词的字段值(UTF-8编码) $doc XSDocument 当前相关的索引文档 {return} array 切好的词组成的数组 源码: sdk/php/lib/XSTokenizer.class.php#L33 (显示) public function getTokens($value, XSDocument $doc...

70.[HELP]xunsearch安装好了,搜索没有结果集。。。

发布时间:2011-10-19 09:10 t By vist2007

...。 配置文件如下 project.name = test project.default_charset = utf-8 server.index = 10.1.20.51:8383 server.search = 10.1.20.51:8384 [id] type = id [title] type = string [content] type = string [date] type = numeric 服务器和sdk分开部署 添加文档代码 ...

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