...ire_once '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('zl'); $index = $xs->index; $doc = new XSDocument; $conn=mysql_connect("localhost", "root", "111111") or die("Could not connect: " . mysql_error()); mysql_select_db('zi, $conn) or die ('Can\'t use test : ' . mysql_error()); $r...
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 )...
[php]root@localhost ~]# Indexer.php --source=mysql://xxx@localhost/phpcms --sql="SELECT a.id,a.title,a.url,a.catid,FROM_UNIXTIME (inputtime,'%Y%m%d' ) as inputtime,ad.content,c.catname,c.url as caturl FROM v9_dede_article AS a LEFT JOIN v9_dede_article_data as ad on a.id=ad.id LEFT JOIN v9_categ...
...ep xs root 21853 0.0 0.0 2184 652 ? S Sep17 0:04 xs-indexd: server root 21856 0.0 0.0 39536 1680 ? S Sep17 0:00 xs-searchd: master root 21857 0.0 0.0 101136 3120 ? Sl Sep17 0:00 xs-searchd: worker[1] root 21858 0.0 0.0 101136 310...
找了下log, indexd.log显示如下信息: 2014-09-01 10:42:01 indexd[17203] ALERT server start (BIND:) 2014-09-01 10:42:01 indexd[17203] NOTICE event loop start (EVENT:0x0002, FLAG:0x0004) 2014-09-01 10:42:12 indexd[17203] ALERT caught SIGINT, shutdown gracefully 2014-09-01 10:42:...
...ep xs root 21853 0.0 0.0 2184 652 ? S Sep17 0:04 xs-indexd: server root 21856 0.0 0.0 39536 1680 ? S Sep17 0:00 xs-searchd: master root 21857 0.0 0.0 101136 3120 ? Sl Sep17 0:00 xs-searchd: worker[1] root 21858 0.0 0.0 101136 310...
..._construct('8383') #4 /usr/local/xunsearch/sdk/php/lib/XS.php(251): XS->getIndex('8383', Object(XS)) #5 /usr/local/xunsearch/sdk/php/index_add.php(6): XSComponent->__get() #6 {main} 进程已启动: root 3795 1 0 05:37 ? 00:00:00 xs-indexd: server ...
...php(1089): XSServer->execCommand(Array, 250) #1 ../phplib/XS.php(1094): XSIndex->addExdata('????????111????...') #2 ../phplib/XS.php(1100): XSIndex->openBuffer(0) #3 ../phputil/Indexer.php(206): XSIndex->closeBuffer() #4 {main} PHP Fatal error: Exception thrown without a stack frame in Unknown...
... 但使用xunsearch搜索出来的结果 http://www.5ucom.com/so/index.php?q=质量管理+报告&f=subject 使用百度搜索出来的结果 http://www.baidu.com/s?q1=%D6%CA%C1%BF%B9%DC%C0%ED+%B1%A8%B8%E6&q2=&q3=&q4=&rn=10&lm=0&ct=0&ft=&q5=&q6=www.5ucom.com&tn=baiduadv 结果比...
...去掉之后,就可以正常导入。 我输入命令符的时候 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 Ìõ£¬Ê§...