搜索

大约有 5 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0051秒)

1.XSServer::execCommand

execCommand() 方法 public mixed execCommand(mixed $cmd, int $res_arg=0, int $res_cmd=128) $cmd mixed 要提交的指令, 若不是 XSCommand 实例则作为构造函数的第一参数创建对象 $res_arg int 要求的响应参数, 默认为 XS_CMD_NONE 即不检测, 若检...

2.XSTokenizerScws::getResult

...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;...

3.XSTokenizerScws

...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;...

4.XSServer

...术方法 __unset XSComponent close() 关闭连接 XSServer execCommand() 执行服务端指令并获取返回值 XSServer getConnString() Returns 连接字符串 XSServer getProject() 获取当前项目名称 XSServer getRespond() 从服务器读取响应指...

5.XSTokenizerScws::hasWord

...WS_GET, XS_CMD_SCWS_HAS_WORD, 0, $text, $xattr); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); return $res->buf === 'OK';} 判断是否包含指定词性的词

  • 时间不限
  • 按相关性排序