搜索

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

21.XSFieldMeta::hasIndexSelf

hasIndexSelf() 方法 public bool hasIndexSelf() {return} bool 若需要返回 true, 不需要则返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L394 (显示) public function hasIndexSelf(){ return ($this->flag & self::FLAG_INDEX_SELF) ? true : false;} 判断当...

22.XSTokenizerScws::getTops

...D_SEARCH_SCWS_GET, 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'); ...

23.XSUtil::convertOut

...il.class.php#L82 (显示) public static function convertOut($buf){ if (self::$charset !== null) { return XS::convert($buf, self::$charset, 'UTF-8'); } return $buf;} 把 UTF-8 字符串转换为用户编码

24.XSUtil::convertIn

...til.class.php#L95 (显示) public static function convertIn($buf){ if (self::$charset !== null) { return XS::convert($buf, 'UTF-8', self::$charset); } return $buf;} 把用户输入的字符串转换为 UTF-8 编码

25.图片搜索的一些疑问

更新时间:2014-02-16 17:02 t By Mr.

...置为string? index = both;如果type = title 请问我可以设置为self吗? tokenizer = default;默认scws分词器 cutlen = 0 weight = 5 phrase = no;关闭精确检索 non_bool = no;要实现默认的匹配度排序 我需要yes这个? [lid];图集属于哪个类目ID 非唯一 ...

26.XSIndex::__destruct

...d(); } catch (Exception $e) { } } foreach (self::$_adds as $srv) { $srv->close(); } self::$_adds = array(); parent::__destruct();} 析构函数 在此自动关闭开启的 rebuild

27.XSServer::hasRespond

...pond(){ // check socket if ($this->_sock === null || $this->_flag & (self::BROKEN | self::FILE)) { return false; } $wfds = $xfds = array(); $rfds = array($this->_sock); $res = stream_select($rfds, $wfds, $xfds, 0, 0); return $res > 0;} 判断服务端是否有可读...

28.XSServer::open

...open($conn){ $this->close(); $this->_conn = $conn; $this->_flag = self::BROKEN; $this->_sendBuffer = ''; $this->_project = null; $this->connect(); $this->_flag ^= self::BROKEN; if ($this->xs instanceof XS) { $this->setProject($this->xs->getName()); }} 打开服...

29.精确检索的问题----急求高手解决

更新时间:2013-06-20 09:06 t By yestar

...server.index = 8383 server.search = 8384 [userid] type = id [my1] index = self [my2] index = self [my3] index = self phrase = yes 我想在 my3 中,词语按照一定顺序查询,查看文档后得不到结果 例如 我要在my3按照这样的顺序查找 CSB-YP,zer,two,six,one,thr,thr ...

30.XSFieldMeta::getCustomTokenizer

...lass.php#L414 (显示) public function getCustomTokenizer(){ if (isset(self::$_tokenizers[$this->tokenizer])) { return self::$_tokenizers[$this->tokenizer]; } else { if (($pos1 = strpos($this->tokenizer, '(')) !== false && ($pos2 = strrpos($this->tokenizer, ')', $...

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