奇怪,还是不行。 [root@estar scws-1.1.5]# patch -p0 libscws/scws.c < scws.diff patching file libscws/scws.c Hunk #1 FAILED at 328. Hunk #2 FAILED at 684. 2 out of 2 hunks FAILED -- saving rejects to file libscws/scws.c.rej 不知道我拷贝的scws.diff内容是不是有问题,如下:...
...e xapian-core-scws, see 'setup.log' for more detail 查看安装目录 root@localhost:~# ls -i /etc/xunsearch/bin 789769 scws 789770 scws-gen-dict 789780 tst_uuid 789782 uuid_time 木有 bin/xs-ctl.sh 自己笨 没有安装zlib 现在好了
...his->makeDsn($param); $user = isset($param['user']) ? $param['user'] : 'root'; $pass = isset($param['pass']) ? $param['pass'] : ''; try { $this->obj = new PDO($dsn, $user, $pass); } catch (PDOException $e) { throw new XSException($e->getMessage()); }} 连接数据库...
...试试[hr] 加上 --enable-maintainer-zts 参数也不行 php 5.2.13 [root@zjx phpext]# /usr/local/php/bin/phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 [root@zjx phpext]# ./configure --with-scws=/usr/local/scws/ -...
...: 就是不断刷新,一会有返回结果,一会返回false; [php] [root@yehuiming /]# /usr/local/php/bin/php -i | grep scws scws SCWS BugReport => http://www.ftphp.com/scws scws.default.charset => utf8 => utf8 scws.default.fpath => /usr/local/scws/etc => /usr/local/scws/etc [/php] 这...
...iled to configure xapian-core-scws, see 'setup.log' for more detail [hr] [root@localhost xunsearch-full-1.0.1]# sh setup.sh + | Welcome to setup xunsearch(full) | | 欢迎使用 xunsearch (完整版) 安装程序 | +---------------------------...
...很多信息,所以换个简单的命令来论坛里问下。 [code][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_...
...d = game_tag.game__id group by t.game__id" 初始化数据源 ... mysql://root@localhost/db_name 开始批量导入数据 (请直接输入数据) ... 完成索引导入:成功 18 条,失败 0 条 刷新索引提交 ...[hr] 这个是还不算有针对性. 另一个表大概有1w条数据, 竟然...
[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...
...0 ps 31168 ? 00:00:47 xs-indexd 31171 ? 00:00:00 xs-searchd [root@edu ~]# strace -p 14179 Process 14179 attached - interrupt to quit clock_gettime(CLOCK_MONOTONIC, {223647, 727467159}) = 0 epoll_wait(1, {}, 32, 2184) = 0 clock_gettime(CLOCK_MONOTONIC, {223649, 926081228}) =...