... int 出错所在的行数 $previous Exception 源码: sdk/php/lib/XS.class.php#L134 (显示) public function __construct($code, $message, $file, $line, $previous = null){ $this->_file = $file; $this->_line = $line; if (version_compare(PHP_VERSION, '5.3.0', '>=')) { ...
...----------+-----+ 22 rows in set (0.00 sec) 这是Indexer导入的结果 $php /usr/local/xunsearch/sdk/php/util/Indexer.php --project=${project_ini} --charset=utf8 --source=${mysql} --sql="select group_concat(game_tag.tag__id) as tag__id,t.id as id from m as t left join game_tag on t.game__id = gam...
...eturn} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L391 (显示) public function beginRebuild(){ $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 0), XS_CMD_OK_DB_REBUILD); $this->_rebuild = true; return $this;} 开始...
... {return} string 用于服务端交互的字符串 源码: sdk/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,...
... 致命的运行时错误(E_ERROR) Uncaught [XSException] ../xunsearch/sdk/php/lib/XS.php(1018): Missing value of primarky key (FIELD:_ID) thrown /var/www/xunsearch/sdk/php/lib/XS.php 1018 我的查询语句是:SELECT `ID` as _ID,`title` as _title,`Content` as _body,`QuestionTime` as _time,`Us...
...eturn} bool 文本中是否包含指定词性的词汇 源码: sdk/php/lib/XSTokenizer.class.php#L382 (显示) public function hasWord($text, $xattr){ $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_HAS_WORD, 0, $text, $xattr); $res = se...
安装scws.so 用php -m 显示 错误! Unable to load dynamic library './usr/lib/php/scws.so' ... cannot open shared object file: No such file or directory in Unknown on line 0 我的php.ini 配置是: [scws] extension = "/usr/lib/php/scws.so" scws.default.charset = gbk scws.default.fpa...
...不能。 我是使用[color=#FF0000]繁體字庫[/color]。 版本是:php_scws.dll(2)/Windows/PHP 5.2.x [php] [/php] 結果在下面: [code] 原始文字:這個文件是為了測試英文:James是一位研究生。 這 => r 個 => q 文件 => n 是 => v ...
[quote='leeeboo' pid='4129' dateline='1300776583'] set_mutli() php扩展里是否有这个方法 Fatal error: Call to undefined method SimpleCWS::set_mutli() [/quote] 应该是set_multi(0)
...turn} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L317 (显示) public function setDocOrder($asc = false){ $type = XS_CMD_SORT_TYPE_DOCID | ($asc ? XS_CMD_SORT_FLAG_ASCENDING : 0); $cmd = new XSCommand(XS_CMD_SEARCH_SET_SORT, $type); $thi...