对index进行频繁操作,会出现indexd进程挂掉现象,动作大概如下: 1.操作频率300次/秒,甚至更高到了1000次/秒 2.操作动作:update,add,del 出现的现象: 1.indexd假死,无法继续插入数据,进程僵死。 2.使用restart,出现indexd stop fail...
...目名.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...
............;//一维数组 $doc->setFields($data); $index->add($doc); foreach ($arrTag as $kt=>$vt) { $doc -> addTerm('cat', $vt); } dump($doc -> getAddTerms('b_tag_id')); } 是这样写吗? 我查询分类的时候...
...de][root@a107 ~]# /usr/local/php/bin/php /usr/local/xunsearch/sdk/php/util/Indexer.php --project=xxx –-source=mysql://xxx:xxx@localhost/xxx --sql="select ID,post_title,post_content,UNIX_TIMESTAMP(post_date) as post_time from wp_posts where (post_status='publish' or post_status='pending') and post_...
...@@@@@ 2012-11-30 07:41:01 update(ps:这里可能是add,update,delete) index num : 1 ************************** Array ( [0] => Array ( [element_id] => 1388 [element_title] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxx [element_content] => yyyyyyyyyyyyyyy...
... Fatal error: Call to undefined function scws_free() in E:\website\test\index.php on line 27
初看一下很多问题啊,index_put() 函数里 $doc 没有声明? 而且你何必 del 再add为何不直接用 put
...段 XS fieldTitle XSFieldMeta 获取当前标题字段 XS index XSIndex 获取索引操作对象 XS name string 获取当前项目名称 XS scheme XSFieldScheme 获取当前在用的字段方案 XS scwsServer XSServer 创建 scws 分词连接 XS ...
..._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 ...
...信息: project.name = goods project.default_charset = utf-8 server.index = 8383 server.search = 8384 [id] type = id [price] type = numeric 查询操作: hpxl@debian:~/test$ php sdk/php/util/Quest.php goods id:3122 --show-query [XSException] sdk/php/lib/XS.php(2455): Failed to ...