我更新索引时候用 util/Indexer.php --source=mysql://root@localhost/test --sql="select * from tbl_post" 很大的数据,索引时间可能几分钟。这样,我的mysql数据库会被锁住吗?就是不能读或者写了? 还是单单执行sql语句的时间会锁住?因为这两...
...有目录 目录下没有文件 咋回事呢 /var/xunsearch/sdk/php/util/Indexer.php --source=mysql://root:root@192.168.1.700/test --sql="SELECT id, uid FROM test" --project="/var/xunsearch/sdk/php/app/person.ini" 开始批量导入数据 (请直接输入数据) ... 完成索引导入:成功 338...
...目名.ini project.name = 项目名 project.default_charset = UTF-8 server.index = 192.168.0.250:8383 server.search = 192.168.0.250:8384 [tid] type = id [fid] index = self tokenizer = full [author] [authorid] index = self tokenizer = full [postdate] tokenizer = full [subject] type = title [co...
... cd $prefix bin/xs-ctl.sh restart 显示: INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] INFO: re-starting server[xs-searchd] ... (BIND:127.0.0...
... cd $prefix bin/xs-ctl.sh restart 显示: INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] INFO: re-starting server[xs-searchd] ... (BIND:127.0.0...
...样的一个错,不像是String的问题: [root@localhost php]# util/Indexer.php --source=csv --clean demo PHP Notice: Uninitialized string offset: 0 in /www/xunsearch/run/sdk/php/lib/XS.php on line 367 PHP Notice: Uninitialized string offset: 0 in /www/xunsearch/run/sdk/php/lib/XS.php on...
...定过滤器。 比如 当我导入数据的时候需要输入 ./util/Indexer.php --rebuild --source=mysql://root:123456@localhost/cusabio --sql="SELECT * FROM proinfo where is_show=1" --project=cusabio_cn_fix --filter=/xunsearch/bin/sdk/php/lib/FixcnFilter -c gbk 里面的 filter=/xunsearch/b...
...nsearch/sdk/php/lib/下面,并且赋予755权限; 2,运行命令util/Indexer.php --rebuild --source=mysql://隐藏 --sql="select did, tag, title, content from wiki_doc" --filter=/usr/local/xunsearch/sdk/php/lib/MyBlogFilter --project=go >log.txt 然后仍然显示”忽略错误的过滤器...
...去掉之后,就可以正常导入。 我输入命令符的时候 util/Indexer.php --source=json cusabio_cn_fix /var/www/fix/file1.txt -c gbk 报错误为 WARNING: invalid line #1 - Empty array INFO: reach end of the file, total lines: 1 Íê³ÉË÷Òýµ¼È룺³É¹¦ 0 Ìõ£¬Ê§...
...ame = go project.default_charset = utf-8 ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [did] type = id [title] type = title [tag] index = self [content] type = body[/code] 其中did为hdwiki每个词条唯一的编号(这个与url对应) title为词条...