安装成功后,http://www.xunsearch.com/doc/php/guide/start.demo 在执行 2. 填充索引数据□ 中的 : util/Indexer.php --source=csv --clean demo 出现以下错误: [root@localhost php]# util/Indexer.php --source=csv --clean demo Object id #2 #0 lib/XS.php(367): xs_error_handl...
...c] index = mixed [addtime] type = date tokenizer = none [/code] [php] ./Indexer.php --source=mysql://root:root@localhost/blog --sql="select b.bid,b.content AS bc,b.addtime,b.title,c.content AS CC from blog b,comment c where b.bid = c.bid" /usr/local/xunsearch/sdk/php/app/59n.ini [/php] ...
为什么我到这一步 就不动了呢 ./sdk/php/util/Indexer.php --source=csv --clean demo [root@localhost home]# ls lnmp0.9-full lnmp.log lost+found wwwlogs lnmp0.9-full.tar.gz location www wwwroot [root@localhost home]# cd wwwroot [root@localhost wwwroot]# ls ftp index.h...
为什么我到这一步 就不动了呢 ./sdk/php/util/Indexer.php --source=csv --clean demo [root@localhost home]# ls lnmp0.9-full lnmp.log lost+found wwwlogs lnmp0.9-full.tar.gz location www wwwroot [root@localhost home]# cd wwwroot [root@localhost wwwroot]# ls ftp index.h...
...自行创建该对象, 而是直接访问 [XS::search] 即可。 ~~~ [php] require '$prefix/sdk/php/lib/XS.php'; $xs = new XS('demo'); $search = $xs->search; // 搜索对象来自 XS 的属性 ~~~ 默认情况,搜索对象操作时对于用户输入的参数、搜索结果的输出编码视为...
... [/quote] 这是我的做测试的时候用的命令 [root@server67 php]# ps auxw | grep xs root 15274 0.0 0.0 4096 668 pts/0 S+ 16:09 0:00 grep xs root 21853 0.0 0.0 2184 652 ? S Sep17 0:04 xs-indexd: server root 21856 0.0 0.0 39536 1680 ? ...
开始重建索引 ... [XSException] ../local/xunsearch/sdk/php/lib/XS.php(1898): DB has been rebuilding(S#407) #0 ../local/xunsearch/sdk/php/lib/XS.php(1122): XSServer->execCommand(Array, 257) #1 Indexer.php(163): XSIndex->beginRebuild() #2 {main}
... XSIndex » XSServer » XSComponent 版本 1.0.0 源代码 sdk/php/lib/XSIndex.class.php XS 索引管理 添加/删除/修改索引数据 Public 属性 隐去继承来的属性 名称类型描述定义于 connString string 连接字符串 XSServer cu...
...的话 是不是命令里面要加上 -c gbk [hr] [XSException] lib/XS.php(1834): Failed to create home directoy of the project(S#508) #0 ../phplib/XS.php(1809): XSServer->execCommand(Array, 201) #1 ../phplib/XS.php(1770): XSServer->setProject('discuz') #2 ../phplib/XS.php(1753): XSServer->ope...