[code] project.name = 59n [bid] type = id [title] index = mixed weight = 5 [bc] index = mixed [cc] 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.titl...
...置文件的解析结果 | | JSON 扩展 | OK | util.Quest, util.Indexer | 用于读取或输出 JSON 格式的数据 | | XML 扩展 | OK | util.Indexer | 用于读取导入 XML 格式的数据 | | MySQL 扩展 | mysql | util.Indexer | 用于读...
... etc include lib sdk share tmp [root@sm xunsearch]# ./sdk/php/util/ Indexer.php Quest.php SearchSkel.php XSDataSource.class.php IniWizzard.php RequiredCheck.php skel/ XSUtil.class.php [root@sm xunsearch]# ./sdk/ph...
...这样写的 project.name = test project.default_charset = utf-8 server.index = 8383 server.search = 8384 当我执行 util/Indexer.php --source=csv --clean test 时候提示下面错误 求解 [XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2448): Failed to recv the data ...
project.name = test project.default_charset = utf-8 server.index = 192.168.46.129:8383 server.search = 192.168.46.129:8384 我将配置文件修改成下面这样 执行以下还是不行 http://192.168.46.129:8383/和http://192.168.46.129:8384/ 输入的时候 显示 It works! [root@localhost x...
为什么我到这一步 就不动了呢 ./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...
[root@hp php]# util/Indexer.php --source=csv --clean demo [XSException] lib/XS.php(2092): Failed to create home directoy of the project(S#508) #0 lib/XS.php(2067): XSServer->execCommand(Array, 201) #1 lib/XS.php(2028): XSServer->setProject('demo') #2 lib/XS.php(2011): XSServer->open('8383') #3 ...
addExdata() 方法 public XSIndex addExdata(string $data, bool $check_file=true) $data string 要提交的命令封包数据, 或存储命令封包的文件路径, 编码必须已经是 UTF-8 $check_file bool 是否检测参数为文件的情况 {return} XSIndex 返回...
XS Object ( [_index:private] => [_search:private] => [_scws:private] => [_scheme:private] => XSFieldScheme Object ( [_fields:private] => Array ( [newsid] => XSFieldMeta Object ( [name] => newsid [cutlen] => 0 [weight] => 1 [type] => 10 [vno] => 0 [tokenizer:private] => full [flag:private] => 1 )...