搜索

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

1.XSIndex::update

...f primary key (FIELD:' . $fid . ')'); } // request cmd $cmd = new XSCommand(XS_CMD_INDEX_REQUEST, XS_CMD_INDEX_REQUEST_ADD); if ($add !== true) { $cmd->arg1 = XS_CMD_INDEX_REQUEST_UPDATE; $cmd->arg2 = $fid->vno; $cmd->buf = $key; } $cmds = array($cmd); // do...

2.XSSearch::addRange

...F-8', $this->_charset); if ($from === null) { $cmd = new XSCommand(XS_CMD_QUERY_VALCMP, XS_CMD_QUERY_OP_FILTER, $vno, $to, chr(XS_CMD_VALCMP_LE)); } elseif ($to === null) { $cmd = new XSCommand(XS_CMD_QUERY_VALCMP, XS_CMD_QUERY_OP_FILTER, $vno, $from, chr(XS_CMD_V...

3.XSServer::sendCommand

...void sendCommand(mixed $cmd) $cmd mixed 要提交的指令, 支持 XSCommand 实例或 cmd 构造函数的第一参数 源码: sdk/php/lib/XSServer.class.php#L321 (显示) public function sendCommand($cmd){ if (!$cmd instanceof XSCommand) { $cmd = new XSCommand($cmd); } ...

4.XSServer::execCommand

..._arg=0, int $res_cmd=128) $cmd mixed 要提交的指令, 若不是 XSCommand 实例则作为构造函数的第一参数创建对象 $res_arg int 要求的响应参数, 默认为 XS_CMD_NONE 即不检测, 若检测结果不符 则认为命令调用失败, 会返回 false 并设...

5.XSServer::getRespond

getRespond() 方法 public XSCommand getRespond() {return} XSCommand 成功返回响应指令 源码: sdk/php/lib/XSServer.class.php#L334 (显示) public function getRespond(){ // read data from server $buf = $this->read(8); $hdr = unpack('Ccmd/Carg1/Carg2/Cblen1/Iblen',...

6.XSServer

...务器操作对象 同时兼容于 indexd, searchd, 所有交互均采用 XSCommand 对象 Public 属性 隐去继承来的属性 名称类型描述定义于 connString string 连接字符串 XSServer project string 获取当前项目名称 XSServer respon...

7.XSTokenizerScws

...setting['add_dict'] = array(); } $this->_setting['add_dict'][] = new XSCommand(XS_CMD_SEARCH_SCWS_SET, XS_CMD_SCWS_ADD_DICT, $mode, $fpath); return $this;} 添加分词词典, 支持 TXT/XDB 格式 getResult() 方法 public array getResult(string $text) $text string ...

8.XSIndex

...x project string 获取当前项目名称 XSServer respond XSCommand 从服务器读取响应指令 XSServer scwsMulti int 获取当前索引库的分词复合等级 XSIndex socket mixed 获取连接资源描述符 XSServer xs XS 服务端关联的 XS ...

9.XSSearch::setSort

... $asc, $relevance_first); } if ($field === null) { $cmd = new XSCommand(XS_CMD_SEARCH_SET_SORT, XS_CMD_SORT_TYPE_RELEVANCE); } else { $type = XS_CMD_SORT_TYPE_VALUE; if ($relevance_first) { $type |= XS_CMD_SORT_FLAG_RELEVANCE; } if ($asc) { ...

10.API里包含未定义变量

发布时间:2011-11-15 20:11 t By dancebear

zendstudio下提示1051行包含未定义变量即$arg1未定义 $cmds[] = new XSCommand(CMD_DOC_INDEX, $arg1, $field->vno, $text);

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