安装scwc后,可以进行分词,但返回格式里没有对应词的id,这样我就不能拿词id查询对应的文字id 难道我还要拿分词再查找对应的词库来获取id?这样就太慢了,估计不是这样做的,不知道大家怎么解决这个问题的。 [php] Array ( ...
...tensions/no-debug-non-zts-20060613/scws.so: undefined symbol: core_globals_id in Unknown on line 0 done [root@zjx sbin]# ./php-fpm restart Shutting down php_fpm . done Starting php_fpm Failed loading /usr/local/php51/lib/php/extensions/no-debug-non-zts-20060613/scws.so: /usr/local/php51/lib/ph...
... [_data:private] => Array ( [id] => 231859 [title] => 尖子生弃考留学成主流 不少学生脚踩两船 [lv1] => 3 [lv2] => 63 [lv3] => 0 [scho...
...ver.index = 192.168.1.124:8383 server.search =192.168.1.124:8384 [brandId] type = id [brand] type = title index =self [/php] 而且搜索骨架会有 [php]大约有 0 项符合查询结果, 库内数据总量为 10,735 项。 (搜索耗时:0.0020秒) [
...~ [sql] -- -- 表的结构 `cdb_posts` -- CREATE TABLE `cdb_posts` ( `pid` int(10) unsigned NOT NULL auto_increment, `fid` smallint(6) unsigned NOT NULL default '0', `tid` mediumint(8) unsigned NOT NULL default '0', `first` tinyint(1) NOT NULL default '0', `author` varchar(15) NOT NULL d...
...default_charset = utf-8 server.index = 8383 server.search = 8384 [sub_ID] type = id [sub_title] type = title [sub_edition] type = title [sub_text] type = body [sub_date] type = numeric 于是使用php进行测试,代码如下 没有显示任何结果 data目...
没有 #define ZTS 1 我加上 试试
...nsearch 版本:xs-searchd: xunsearch/1.4.7-dev (search server) [php] PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 28942 root 18 3 152m 28m 1852 S 174.6 0.2 61:51.25 xs-searchd 28940 root 18 3 152m 28m 1888 S 128.4 0.2 45:21.77 xs-searchd 28941 root...
试试在 phpext 目录的 configure 运行前 export CFLAGS="-O2 -DZTS=1"
...ult = $this->temp_db->get_where($table, array($table_key_array[$table] => $id))->row_array(); if(empty($result)){ $doc->setFields($result); $res = $index->add($doc); return false; } 返回$res值为 object(XSIndex)#42 (9) { ["_buf":"XSIndex":private]=> string(0) "" [...