搜索

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

101.XSSearch::setCharset

... public XSSearch setCharset(string $charset) $charset string {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L69 (显示) public function setCharset($charset){ $this->_charset = strtoupper($charset); if ($this->_charset == ...

102.XSSearch::setQuery

...语句, 设为 null 则清空搜索语句, 最大长度为 80 字节 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L227 (显示) public function setQuery($query){ $this->clearQuery(); if ($query !== null) { $this->_query = ...

103.XSIndex::getScwsMulti

... 方法 (自版本 v1.4.7 起可用) public int getScwsMulti() {return} int 返回当前库的分词复合等级 源码: sdk/php/lib/XSIndex.class.php#L347 (显示) public function getScwsMulti(){ $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_GET, 'arg1' => XS_CMD_SCWS_GET_MULTI); ...

104.XSIndex::endRebuild

endRebuild() 方法 public XSIndex endRebuild() {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L404 (显示) public function endRebuild(){ if ($this->_rebuild === true) { $this->_rebuild = false; $this->execCommand(...

105.scws_has_word的逻辑问题

更新时间:2010-07-29 14:07 t By backluck

...ar *word; word_attr *at = NULL; if (!s || !s->txt) return 0; __PARSE_XATTR__; // save the offset. (cnt -> return_value) off = s->off; cnt = s->off = 0; while (!cnt && (cur = res = scws_get_result(s)) != NULL) { do { ...

106.XSDocument::beforeSubmit

...eforeSubmit(XSIndex $index) $index XSIndex 索引操作对象 {return} bool 默认返回 true, 若返回 false 将阻止该文档提交到索引服务器 源码: sdk/php/lib/XSDocument.class.php#L331 (显示) public function beforeSubmit(XSIndex $index){ if ($this->_charset =...

107.XSDocument::getIterator

...8'; $to = $this->_meta === null ? 'UTF-8' : $this->_charset; return new ArrayIterator(XS::convert($this->_data, $to, $from)); } return new ArrayIterator($this->_data);} IteratorAggregate 接口, 以支持 foreach 遍历访问字段列表

108.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',...

109.XSDatabasePDO::query

... mixed query(string $sql) $sql string 要执行的 SQL 语句 {return} mixed 源码: sdk/php/util/XSDataSource.class.php#L843 (显示) public function query($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = $this->obj->query($sql); if ($res === false) { $info = $this-...

110.XSFieldMeta::val

...法 public mixed val(mixed $value) $value mixed 原值 {return} mixed 转换后的值 源码: sdk/php/lib/XSFieldScheme.class.php#L320 (显示) public function val($value){ if ($this->type == self::TYPE_DATE) { // 日期类型: 转换成专用的 YYYYmmdd 格式 ...

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