搜索

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

31.RE: 有没有简洁的php演示搜索代码

发布时间:2011-10-23 20:10 t By ci169

... Fatal error: Uncaught [XSErrorException] /search.php(5): Undefined index: key(8) thrown in /home/boyce/xunsearch/sdk/php/lib/XS.php on line 469 [/quote] 你是不是用的旧版本,这是因为变量使用不严谨导致的,建议在搜索 代码开头用 error_reporting(E_ALL ^ E_NOTICE)...

32.关于 misc/ 目录下的文件

发布时间:2007-06-06 10:06 t By hightman

...是中国人"); 获取结果 echo $cws->recv(); 设定参数: key=>value binary => (on) autodis => (on|off) ignore_mark => (yes|no) delim => '_|/'... $cws->set("autodis", "yes") 关闭 $cws->close(); 变量: rbuf (close之后续读的数据) ...

33.mysql导入数据配置文件里的字段要和数据库里的一样吗?

发布时间:2011-10-28 10:10 t By mengfanchao

...{main}警告:添加第 35000 条数据失败 - Missing value of primarky key (FIELD:pid) #0 /usr/local/xunsearch/sdk/php/util/Indexer.php(195): XSIndex->update(Object(XSDocument)) sql语句: sql="select c.contentid,c.status,b.contentid from phpcms_content c,phpcms_c_news b where c.contentid...

34.自定义词库用不了。非常不解啊。。

发布时间:2011-10-21 16:10 t By ci169

...xt); while ($temp = $this -> so->get_result()) { foreach ($temp as $key=>$val) { $list[$val['word']] = $val['word']; } } $time_end = $this -> get_microtime(); $time = $time_end - $time_start; Return array($list, $time); } } $scws = new scws(); $list ...

35.XSIndex

...reSubmit($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 of primary key (FIELD:' . $fid . ')'); } // request cmd $...

36.编译无法通过,请问应该怎么办呢?

更新时间:2013-03-25 17:03 t By xiwillo

... `BtreeCheck::block_check(Cursor_*, int, int)': : undefined reference to `Key_::operator

37.搜索全文时较慢,在0.5+秒,甚至1.0+秒【900M数据库】

更新时间:2013-07-05 15:07 t By chinapubmed

...-------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+-----------------------+------+-----+---------+----------------+ | did | mediumint(8) unsigned | NO | PRI | NULL | auto_increment | | cid | int(6) uns...

38.XS

...} // array traverse if (is_array($data)) { foreach ($data as $key => $value) { $data[$key] = self::convert($value, $to, $from); } return $data; } // string contain 8bit characters if (is_string($data) && preg_match('/[\x81-\xfe]/', $data)) { // m...

39.使用讯搜搭建phpwind的全文检索

更新时间:2012-05-18 09:05 t By myoula

...'0', `type` tinyint(1) unsigned zerofill NOT NULL DEFAULT '0', PRIMARY KEY (`mid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; #建立trigger 使用trigger来知道哪些帖子需要加入、更新、删除索引 CREATE TRIGGER imq AFTER INSERT ON pw_threads FOR EACH ROW insert into mq (tid, type) va...

40.XSSearch

...es->buf) as $line) { $value = explode("\t", $line); $key = array_shift($value); $ret[$key] = $value; } } return $ret;} 获取当前库内的全部同义词列表 getCorrectedQuery() 方法 public array getCorrectedQuery(string $query=NULL) ...

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