搜索

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

151.XSFieldScheme::checkValid

...#L175 (显示) public function checkValid($throw = false){ if (!isset($this->_typeMap[XSFieldMeta::TYPE_ID])) { if ($throw) { throw new XSException('Missing field of type ID'); } return false; } return true;} 判断该字段方案是否有效、可用 ...

152.XSIndex::update

...cument $doc, $add = false){ // before submit if ($doc->beforeSubmit($this) === false) { return $this; } // check primary key of document $fid = $this->xs->getFieldId(); $key = $doc->f($fid); if ($key === null || $key === '') { throw new XSException('Missing value o...

153.XSTokenizerScws::hasWord

...ass.php#L382 (显示) public function hasWord($text, $xattr){ $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_HAS_WORD, 0, $text, $xattr); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); return $res->buf === 'OK';} 判断是否...

154.RE: 三个问题需要求教

发布时间:2011-01-17 16:01 t By hightman

... } // strict must add: !$this->_is_digit(ord($this->txt[$start+1]))) if ((pflag & PFLAG_ADDSYM) || ch != 0x2e || !SCWS_IS_DIGIT(txt[start+1])) break; *************** *** 677,683 **** wmap[i][i] = (word_t) pmalloc_z(p, sizeof(wor...

155.RE: 三个问题需要求教

更新时间:2011-01-20 15:01 t By nftw

... } // strict must add: !$this->_is_digit(ord($this->txt[$start+1]))) if ((pflag & PFLAG_ADDSYM) || ch != 0x2e || !SCWS_IS_DIGIT(txt[start+1])) break; *************** *** 677,683 **** ...

156.增量索引不成功

发布时间:2014-02-13 17:02 t By lzc2523700

...保护迅搜文件 include SRCPATH.'libs/xunsearch/lib/XS.php'; $this->temp_db = $ci->load->database ( $table_db_array[$table], TRUE ); //建立 XS 对象 $xs = new XS($project_name); //获取 索引对象 $index = $xs->index; $doc = new XSDocument; $result = array(); ...

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