搜索

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

61.XSDocument::getAddTerms

... public function getAddTerms($field){ $field = strval($field); if ($this->_terms === null || !isset($this->_terms[$field])) { return null; } $terms = array(); foreach ($this->_terms[$field] as $term => $weight) { $term = $this->autoConvert($term); $terms[$term] =...

62.XSFieldScheme::getField

...getField($name, $throw = true){ if (is_int($name)) { if (!isset($this->_vnoMap[$name])) { if ($throw === true) { throw new XSException('Not exists field with vno: `' . $name . '\''); } return false; } $name = $this->_vnoMap[$nam...

63.Indexer 导入数据和 mysql查询结果不一致, why??

更新时间:2013-09-25 13:09 t By airowner

.... 不知错在哪里了, 求解答[hr] oh my god , 这.... 203 $this->sql = $sql; 204 if ($this->limit == 0) { 205 $sql = preg_replace('/SELECT\s+.+?FROM\s/i', 'SELECT COUNT(*) AS count FROM ', $sql); 206 $res = $this->db->query1($sql); 207 $thi...

64.XS::setScheme

...ublic function setScheme(XSFieldScheme $fs){ $fs->checkValid(true); $this->_scheme = $fs; if ($this->_search !== null) { $this->_search->markResetScheme(); }} 设置当前在用的字段方案

65.XSSearch::open

...php#L55 (显示) public function open($conn){ parent::open($conn); $this->_prefix = array(); $this->_fieldSet = false; $this->_lastCount = false;} 连接搜索服务端并初始化 每次重新连接后所有的搜索语句相关设置均被还原

66.XS::__construct

... if (is_file($file2)) { $file = $file2; } } $this->loadIniFile($file); self::$_lastXS = $this;} 构造函数 特别说明一个小技巧, 参数 $file 可以直接是配置文件的内容, 还可以是仅仅是文件名, 如果只是文件名会自动查找 XS_LI...

67.XSFieldMeta::getCustomTokenizer

...) 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, ')', $pos1 + 1))) { ...

68.XSFieldScheme::getFieldBody

...heme.class.php#L77 (显示) public function getFieldBody(){ if (isset($this->_typeMap[XSFieldMeta::TYPE_BODY])) { $name = $this->_typeMap[XSFieldMeta::TYPE_BODY]; return $this->_fields[$name]; } return false;} 获取内容字段元数据

69.XSFieldScheme::getFieldId

...Scheme.class.php#L46 (显示) public function getFieldId(){ if (isset($this->_typeMap[XSFieldMeta::TYPE_ID])) { $name = $this->_typeMap[XSFieldMeta::TYPE_ID]; return $this->_fields[$name]; } return false;} 获取主键字段元数据

70.RE: 分面功能的search()

发布时间:2012-01-11 10:01 t By hightman

...search函数,在返回代码附近有: if ($query === '') { $this->_count = $tmp['count']; $this->logQuery(); } 的代码,在开启了分面功能时,$tmp对象在获取分面数据时被重置了,运行到上面的代码时,大家都没有出错?(php5.2.9) [/quo...

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