...T, 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[] = $tmp;...
....php(2380): XSServer->getRespond() #2 sdk/php/lib/XS.php(1686): XSServer->execCommand(Object(XSCommand), 206) #3 Quest.php(338): XSSearch->search() #4 {main} load average信息: top - 21:49:29 up 1:31, 4 users, load average: 1.00, 0.94, 0.90 Tasks: 82 total, 1 running, 81 sleeping, ...
...术方法 __unset XSComponent close() 关闭连接 XSServer execCommand() 执行服务端指令并获取返回值 XSServer getConnString() Returns 连接字符串 XSServer getProject() 获取当前项目名称 XSServer getRespond() 从服务器读取响应指...
...RCH_SCWS_GET, XS_CMD_SCWS_GET_RESULT, 0, $text); $res = self::$_server->execCommand($cmd, XS_CMD_OK_SCWS_RESULT); while ($res->buf !== '') { $tmp = unpack('Ioff/a4attr/a*word', $res->buf); $tmp['word'] = XS::convert($tmp['word'], self::$_charset, 'UTF-8'); $words[] = $tmp;...