...符 {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L283 (显示) public function addSynonym($raw, $synonym){ $raw = strval($raw); $synonym = strval($synonym); if ($raw !== '' && $synonym !== '') { $cmd = new XSCommand(XS_CM...
你好!我用的是centos5 系统,mysql是源码版的5.1.36,myft是myft-5.1.30-090611.tgz 我按照说明,先装的scws,然后是数据库,这两个都没问题, 在安装myft这个插件式,configure没问题,make出现了一个错误,如下提示 ibtool: Version mismatc...
... {return} XSTokenizerScws 返回对象本身以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L283 (显示) public function setDict($fpath, $mode = null){ if (!is_int($mode)) { $mode = stripos($fpath, '.txt') !== false ? SCWS_XDICT_TXT : SCWS_XDICT_XDB; } $thi...
...org/download/scws-0.0.1-pre.src.zip][color=#0000ff]点击下载 SCWS 扩展源码及 VC6 工程文件[/color][/url] [url=http://www.yanbin.org/php-scws-windows-edtion/]http://www.yanbin.org/php-scws-windows-edtion/[/url] [[i] 本帖最后由 Ben 于 2007-6-23 13:21 编辑 [/i]]
...rn} XSFieldMeta 字段元数据对象, 若不存在则返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L93 (显示) public function getField($name, $throw = true){ if (is_int($name)) { if (!isset($this->_vnoMap[$name])) { if ($throw === true) { th...
...个词汇是包含 [off:词在文本中的位置,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,...
...转换的绝对路径 {return} string 转换后的相对路径 源码: sdk/php/lib/XS.class.php#L79 (显示) public static function getRelPath($file){ $from = getcwd(); $file = realpath($file); if (is_dir($file)) { $pos = false; $to = $file; } else { $po...
...turn} string 返回可用的参数值,若不存在则返回 null 源码: sdk/php/util/XSUtil.class.php#L161 (显示) public static function getOpt($short, $long = null, $extra = false){ if (self::$options === null) { self::parseOpt(); } $value = null; $options = self::$...
... 字节 {return} int 匹配的搜索结果数量, 估算数值 源码: sdk/php/lib/XSSearch.class.php#L547 (显示) public function count($query = null){ $query = $query === null ? '' : $this->preQueryString($query); if ($query === '' && $this->_count !== null) { return $th...
...级 {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L331 (显示) public function setScwsMulti($level){ $level = intval($level); if ($level >= 0 && $level < 16) { $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_SET, 'arg1' => XS_CMD_S...