搜索

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

121.XSSearch::setSort

...alse, $relevance_first = false){ if (is_array($field)) { return $this->setMultiSort($field, $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 ...

122.XSSearch::getExpandedQuery

...20, intval($limit))); try { $buf = XS::convert($query, 'UTF-8', $this->_charset); $cmd = array('cmd' => XS_CMD_QUERY_GET_EXPANDED, 'arg1' => $limit, 'buf' => $buf); $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_BEGIN); // echo "Raw Query: " . $res->buf . "\n"; ...

123.XSSearch::setCollapse

...$field, $num = 1){ $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this->xs->getField($field, true)->vno; $max = min(255, intval($num)); $cmd = new XSCommand(XS_CMD_SEARCH_SET_COLLAPSE, $max, $vno); $this->execCommand($cmd); return $this;} 设置折叠搜索结果 注意, 每...

124.XSDatabasePDO

...hp/util/XSDataSource.class.php#L833 (显示) public function close(){ $this->obj = null;} 关闭数据库 connect() 方法 public void connect(array $param) $param array 连接参数, 包含: user, pass ... 源码: sdk/php/util/XSDataSource.class.php#L818 (显示) publ...

125.XSTokenizerScws::setDict

...ipos($fpath, '.txt') !== false ? SCWS_XDICT_TXT : SCWS_XDICT_XDB; } $this->_setting['set_dict'] = new XSCommand(XS_CMD_SEARCH_SCWS_SET, XS_CMD_SCWS_SET_DICT, $mode, $fpath); unset($this->_setting['add_dict']); return $this;} 设置分词词典, 支持 TXT/XDB 格式

126.RE: Hightman 你好,我在编译scws时出现了问题

发布时间:2009-05-12 11:05 t By crackx

..../include/my_config.h:1059:1: warning: "PACKAGE" redefined :6:1: warning: this is the location of the previous definition ../../include/my_config.h:1065:1: warning: "PACKAGE_NAME" redefined :1:1: warning: this is the location of the previous definition ../../include/my_config.h:1068:1: warning: ...

127.RE: Hightman 你好,我在编译scws时出现了问题

发布时间:2009-07-18 17:07 t By yugan300

..../include/my_config.h:1059:1: warning: "PACKAGE" redefined :6:1: warning: this is the location of the previous definition ../../include/my_config.h:1065:1: warning: "PACKAGE_NAME" redefined :1:1: warning: this is the location of the previous definition ../../include/my_config.h:1068:1: warning: ...

128.Hightman 你好,我在编译scws时出现了问题

更新时间:2009-05-06 09:05 t By crackx

..../include/my_config.h:1065:1: warning: "PACKAGE" redefined :6:1: warning: this is the location of the previous definition ../../include/my_config.h:1071:1: warning: "PACKAGE_NAME" redefined :1:1: warning: this is the location of the previous definition ../../include/my_config.h:1074:1: warning: ...

129.XSCommand::getArg

getArg() 方法 public int getArg() {return} int 参数值 源码: sdk/php/lib/XSServer.class.php#L95 (显示) public function getArg(){ return $this->arg2 | ($this->arg1 << 8);} 获取属性 arg 的值

130.XSCommand::setArg

setArg() 方法 public void setArg(int $arg) $arg int 参数值 源码: sdk/php/lib/XSServer.class.php#L104 (显示) public function setArg($arg){ $this->arg1 = ($arg >> 8) & 0xff; $this->arg2 = $arg & 0xff;} 设置属性 arg 的值

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