搜索

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

61.RE: Hightman 你好,我在编译scws时出现了问题

发布时间:2009-06-22 17:06 t By aaronyou

我也遇到同样问题 mysql版本5.1.30 scws-1.0.3.tar.bz2 打补丁时信息如下 patching file include/mysql_com.h patching file sql/item_func.cc patching file include/mysql.h.pp 应该OK 了 参考文章http://www.hightman.cn/bbs/showthread.php?tid=503 请指引,谢谢

62.XSTokenizerScws::getResult

...:词在文本中的位置,attr:词性,word:词] 源码: sdk/php/lib/XSTokenizer.class.php#L339 (显示) public function getResult($text){ $words = array(); $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_RESULT, 0, $text); $res = self...

63.XSTokenizerScws

XSTokenizerScws All Packages | 方法(函数) 包 XS.tokenizer 继承关系 class XSTokenizerScws 实现接口 XSTokenizer 始于 1.3.1 版本 1.0.0 源代码 sdk/php/lib/XSTokenizer.class.php SCWS - 分词器(与搜索服务端通讯) Public ...

64.XSSearch::count

..., 0, $this->_defaultOp, $query); $res = $this->execCommand($cmd, XS_CMD_OK_SEARCH_TOTAL); $ret = unpack('Icount', $res->buf); if ($query === '') { $this->_count = $ret['count']; } return $ret['count'];} 估算搜索语句的匹配数据量

65.XSIndex::delSynonym

...(strval($cmd)); } else { $this->execCommand($cmd, XS_CMD_OK_RQST_FINISHED); } } return $this;} 删除某个同义词

66.编译时出错,是怎么回事?scws.h

发布时间:2013-04-18 10:04 t By ffcz

...led... no checking for re2c... re2c checking for re2c version... 0.13.5 (ok) checking for gawk... gawk checking for scws support... yes, shared checking for scws.h... no configure: error: Please download and install scws from http://www.xunsearch.com/scws Linux localhost.localdomain 2.6.18-...

67.RE: Deepin10.06下遇到问题

更新时间:2012-01-27 15:01 t By 五岳之巅

...P,接着下载自己的PHP程序,导入Mysql数据,localhost测试,OK

68.XSSearch::terms

... $this->_defaultOp, $query); $res = $this->execCommand($cmd, XS_CMD_OK_QUERY_TERMS); $ret = array(); $tmps = explode(' ', $res->buf); for ($i = 0; $i < count($tmps); $i++) { if ($tmps[$i] === '' || strpos($tmps[$i], ':') !== false) { continue; ...

69.XSSearch::getQuery

..., 0, $this->_defaultOp, $query); $res = $this->execCommand($cmd, XS_CMD_OK_QUERY_STRING); if (strpos($res->buf, 'VALUE_RANGE') !== false) { $regex = '/(VALUE_RANGE) (\d+) (\S+) (.+?)(?=\))/'; $res->buf = preg_replace_callback($regex, array($this, 'formatValueRange'), $res->buf); ...

70.XSTokenizerScws::getTops

...是包含 [times:次数,attr:词性,word:词] 源码: sdk/php/lib/XSTokenizer.class.php#L361 (显示) public function getTops($text, $limit = 10, $xattr = ''){ $words = array(); $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_TOPS, $limi...

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