..._SCWS_GET, XS_CMD_SCWS_GET_TOPS, $limit, $text, $xattr); $res = self::$_server->execCommand($cmd, XS_CMD_OK_SCWS_TOPS); while ($res->buf !== '') { $tmp = unpack('Itimes/a4attr/a*word', $res->buf); $tmp['word'] = XS::convert($tmp['word'], self::$_charset, 'UTF-8'); $words[]...
...ommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_VERSION); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); return $res->buf;} 获取 scws 版本号
... while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: www.xxx.xxx, request: "GET /search?q=source%3Aqiyi+type%3Avideo+tag%3A%E7%94%B5%E5%BD%B1+OR+tag%3A%E6%83%8A %E6%82%9A+OR+tag%3A%E7%8A%AF%E7%BD%AA+OR+tag%3A%E7%88%B1%E6%83%85 HTTP/1.1", upstream: "fastcgi://127.0.0....
...rker1[18177] init the thread pool 2012-12-10 13:40:33 worker1[18177] event server start (FLAG:0x0004)
...oject.name = go project.default_charset = utf-8 ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [did] type = id [title] type = title [tag] index = self [content] type = body[/code] 其中did为hdwiki每个词条唯一的编号(这个与url对应) title...
...ate] => Array ( [project.name] => test [project.default_charset] => UTF-8 [server.index] => 8383 [server.search] => 8384 [newsid] => Array ( [type] => id ) [title] => Array ( [type] => title ) ) ) Fatal error: Uncaught [XSErrorException] xunsearch/sdk/php/lib/XS.php(2207): stream_set_blocking(): s...
...o create home directoy of the project(S#508) #0 ../phplib/XS.php(1809): XSServer->execCommand(Array, 201) #1 ../phplib/XS.php(1770): XSServer->setProject('discuz') #2 ../phplib/XS.php(1753): XSServer->open(8383) #3 ../phplib/XS.php(300): XSServer->__construct(8383, Object(XS)) #4 ../phplib/XS.p...
...xunsearch" cd $prefix 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...
...xunsearch" cd $prefix 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...
... 建立项目 project.name = product project.default_charset = utf-8 ;server.index = 8383 ;server.search = 8384 [id] type = id [p_id] [p_name] type = title [p_bn_id 然后用 # 导入 MySQL 数据库的 dbname.tbl_post 表到 demo 项目中,并且平滑重建 util/Inde...