...CT * FROM documents" --project=demo 开始重建索引 ... [XSException] lib/XS.php(2094): DB has been rebuilding(S#407) #0 lib/XS.php(1192): XSServer->execCommand(Array, 257) #1 Indexer.php(197): XSIndex->beginRebuild() #2 {main}[hr] /sdk/php$ util/RequiredCheck.php Xunsearch PHP-SDK 运行...
...rue {return} XSFieldMeta 字段元数据对象 源码: sdk/php/lib/XS.class.php#L514 (显示) public function getField($name, $throw = true){ return $this->_scheme->getField($name, $throw);} 获取项目字段元数据
...息. ps:错误提示Warning: require_once(/home/xunsou/xunsearch/sdk/php/lib/XS.php) [function.require-once]: failed to open stream: Permission denied in /home/web/www.ziyouhu.com/xs-test.php on line 3 Fatal error: require_once() [function.require]: Failed opening required '/home/xunsou/xunsearch/s...
...错误: Fatal error: Uncaught [XSException] ../../../../search/sdk/php/lib/XS.php(2094): Couldn't stat 'data/dream/log_db'(S#515) thrown in /search/sdk/php/lib/XS.php on line 2094 请问是怎么回事呢?谢谢[hr] [root@localhost php]# util/Quest.php --suggest dream m 目前对m还没有...
...名.ini`,例子代码如下: ~~~ [php] require_once '$prefix/sdk/php/lib/XS.php'; $xs = new XS('demo'); // 自动使用 $prefix/sdk/php/app/demo.ini 作项目配置文件 $xs = new XS('/path/to/demo.ini'); // 使用 /path/to/demo.ini ~~~ > note: 自 v1.4.9 起,可以通过定义常量 XS_APP...
...现 Fatal error: Uncaught [XSException] ../../../usr/local/hush/sdk/php/lib/XS.php(2177): Permission denied(C#13) thrown in /usr/local/hush/sdk/php/lib/XS.php on line 2177 chown -R www:www后则正常连接了
...getIndex() {return} XSIndex 索引操作对象 源码: sdk/php/lib/XS.class.php#L406 (显示) public function getIndex(){ if ($this->_index === null) { $adds = array(); $conn = isset($this->_config['server.index']) ? $this->_config['server.index'] : 8383; if (($p...
...面包含了 require_once '/data/new_shop/public/xunsearch-full/sdk/php/lib/XS.php'; 文件或者生成demo搜索页都报同一个错误; 错误:[XSErrorException] ../../../software/install/xunsearch-full/sdk/php/lib/XS.php(501): xcache_get(): XCache var cache was not initialized properl...
...enizer 获取当前字段的自定义词法分析器 源码: sdk/php/lib/XSFieldScheme.class.php#L414 (显示) public function getCustomTokenizer(){ if (isset(self::$_tokenizers[$this->tokenizer])) { return self::$_tokenizers[$this->tokenizer]; } else { if (($pos1 = strpos...
...x86_64 1、我使用--rebuild建索引,会提示: [XSException] ../lib/XS.php(2233): DB has been rebuilding(S#407) #0 ../lib/XS.php(1198): XSServer->execCommand(Array, 257) #1 Indexer.php(241): XSIndex->beginRebuild() #2 {main} [b]这是咋回事?[/b] 2、我又换成--stop-rebuil...