...据[/b]则返回 false 源码: sdk/php/util/XSDataSource.class.php#L450 (显示) public function query1($sql){ $sql = preg_replace('/ limit\s+(\d+)(?:\s*...
... {return} string 源码: sdk/php/util/XSUtil.class.php#L50 (显示) public static function fixWidth($text, $size, $pad = ' '){ for ($i = $j = 0; $i < strlen($text) && $j < $size; $i++, $j++) { if ((ord($text[$i]) & 0xe0) === 0xe0) { if (($size - $j) == 1) { ...
...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L129 (显示) public function setAutoSynonyms($value = true){ $flag = XS_CMD_PARSE_FLAG_BOOLEAN | XS_CMD_PARSE_FLAG_PHRASE | XS_CMD_PARSE_FLAG_LOVEHATE; if ($value === true) { $flag |= XS_CMD_PARSE_FLAG_AUTO_MULTIWORD_...
安装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...
...被检索到) 可以在使用util/Quest.php进行查询的时候 可以显示出来呢? (目的是:当检索到结果的时候 想知道它是来自哪个文件的) [hr] 我仔细用了一下xunsearch 它可以直接建立应用 很方便!! 谢谢你的开发和帮助!
... http://192.168.46.129:8383/和http://192.168.46.129:8384/ 输入的时候 显示 It works! [root@localhost xunsearch]# util/Indexer.php --source=csv --clean test [XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2448): Failed to recv the data from server completely (SIZE:0/8, REASO...
... XSSearch 搜索操作对象 源码: sdk/php/lib/XS.class.php#L431 (显示) public function getSearch(){ if ($this->_search === null) { $conns = array(); if (!isset($this->_config['server.search'])) { $conns[] = 8384; } else { foreach (explode(';...
...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L332 (显示) public function setCollapse($field, $num = 1){ $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this->xs->getField($field, true)->vno; $max = min(255, intval($num)); $cmd = new XSCommand(XS_CMD_SEARCH_SET...
...{return} string 源码: sdk/php/util/XSDataSource.class.php#L945 (显示) protected function makeDsn($param){ $dsn = 'sqlite:' . $param['path']; return $dsn;} 生成 SQLite DSN
...了1.0.0版本,但是1.0.0版本编译好后,能够在php -m列表中显示出来,但是分词的时候会中断php执行,但是这个错误无法看到,只是中断了!希望大大能改进一下,让错误能够报出来,比如那个blitz模块就有错误报告。呵呵·