...nction add() on a non-object in c.php on line 14[hr] 另外 WARNING: no server[xs-indexd] is running (BIND:127.0.0.1:8383) INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) WARNING: no server[xs-searchd] is running (BIND:127.0.0.1:8384) INFO: re-starting server[xs-searchd] ... (BIN...
... share tmp [root@sm xunsearch]# ./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] ... (BI...
...用 /usr/local/xunsearch/bin/xs-ctl.sh stop 后提示 INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] 但是输入 [root@localhost ~]# ps -ef | grep xs root 8781 1 0 03:36 ? 00:00:12 xs-ind...
... sdk/php/app/xx.ini配置一下 (1里面也是xx.ini 但是没有设置server.index和server.search) project.name = xxxx project.chartset = UTF-8 server.index = x.x.x.160:8383 server.search = x.x.x.160:8384 使用 Index.php -p test --info 报错 #0 ../lib/XS.php(2025): XSServer->connect() #1 ../...
报告一下 刚才我也重启不了 INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) ................................. [FAILED] fastrestart也不行 此时看了下xs-searchd占cpu90多了 没strace过 是直接kill掉就可以重启了
...资源很大。xunsearch 版本: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-se...
...ommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_VERSION); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); return $res->buf;} 获取 scws 版本号
...L534 (显示) public function setUtf8(){ if (version_compare(mysql_get_server_info($this->link), '4.1.0', '>=')) { return @mysql_query("SET NAMES utf8", $this->link); } return false;} 将输出字符集设置为 UTF-8
...EARCH_SCWS_GET, XS_CMD_SCWS_HAS_WORD, 0, $text, $xattr); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); return $res->buf === 'OK';} 判断是否包含指定词性的词
...不开。 [/quote] 这是我的做测试的时候用的命令 [root@server67 php]# ps auxw | grep xs root 15274 0.0 0.0 4096 668 pts/0 S+ 16:09 0:00 grep xs root 21853 0.0 0.0 2184 652 ? S Sep17 0:04 xs-indexd: server root 21856 0.0 0.0 39536 16...