搜索

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

91.XSFieldMeta::isBoolIndex

...b/XSFieldScheme.class.php#L345 (显示) public function isBoolIndex(){ if ($this->flag & self::FLAG_NON_BOOL) { return false; } return (!$this->hasIndex() || $this->tokenizer !== XSTokenizer::DFL);} 判断当前字段的索引是否为布尔型 目前只有内置分词器支持...

92.scws在ubuntu9.0.4上不能编译

更新时间:2009-05-27 09:05 t By tianfan

...for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise depe...

93.安装php扩展 error: Incorrect scws library

发布时间:2013-02-21 11:02 t By Loading

...-o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x8...

94.复合分词的级别"multi" 可以设置分词的长度吗?

发布时间:2012-07-19 11:07 t By calvin

...$data); $re = web_socket("http://www.ftphp.com/scws/api.php",0,$data); if(!$re) { return array('words'=>array()); } return json_decode($re); } [/php] 分词结果: 中文 分词 解析 我 的 个 神啊 具体返回的json 见下面. 我想...

95.XSDatabasePDO::query

...l){ //echo "[DEBUG] SQL: $sql\n"; $res = $this->obj->query($sql); if ($res === false) { $info = $this->obj->errorInfo(); throw new XSException('SQLSTATE[' . $info[0] . '] [' . $info[1] . '] ' . $info[2]); } $ret = $res->fetchAll(PDO::FETCH_ASSOC); return $ret;} ...

96.RE: 遇到一个分词错误的问题

发布时间:2014-02-11 11:02 t By robinjia

...个前缀检查。于是将scws.c的代码做了如下修改, 在890if ((r1->flag & SCWS_ZRULE_PREFIX) && (i < (zlen - clen))) { /* prefix, check after (zmin~zmax) */ // 先检查 zmin 字内是否全部符合要求 // 再在 zmax 范围内取...

97.scws1.1.1错误:

发布时间:2010-05-07 12:05 t By gaoomei

...-o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gn...

98.SCWS-1.1.9 没法分中文?

发布时间:2012-01-07 12:01 t By hejone

...是一个中国人, 我有时买Q币来玩, 我还听说过C#语言"; if (!(s = scws_new())) { printf("error, can't init the scws_t!\n"); exit(-1); } scws_set_charset(s, "gbk"); scws_set_dict(s, "/usr/local/scws/etc/dict.xdb", SCWS_XDICT_XDB); scws_set_rule(s, "/usr/local/...

99.XSCommand::__toString

.../php/lib/XSServer.class.php#L83 (显示) public function __toString(){ if (strlen($this->buf1) > 0xff) { $this->buf1 = substr($this->buf1, 0, 0xff); } return pack('CCCCI', $this->cmd, $this->arg1, $this->arg2, strlen($this->buf1), strlen($this->buf)) . $this->buf . $this->buf1;} ...

100.XSIndex::addExdata

...hp#L253 (显示) public function addExdata($data, $check_file = true){ if (strlen($data) < 255 && $check_file && file_exists($data) && ($data = file_get_contents($data)) === false) { throw new XSException('Failed to read exdata from file'); } // try to check allowed (BUG:...

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