搜索

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

11.XSSearch::getAllSynonyms

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

12.分词时出现堆栈溢出错误

更新时间:2013-04-10 10:04 t By swish

..._node_cmp(const void *a,const void *b) { return strcmp((*((node_t *)a))->key,(*((node_t *)b))->key); } #else #ifdef WIN32 static int _xtree_node_cmp(node_t *a, node_t *b) #else static int _xtree_node_cmp(a, b) node_t *a, *b; #endif { return strcmp((*a)->key, (*b)->key); } #endif 2...

13.xdb文件读取小BUG

发布时间:2011-11-15 15:11 t By scgywx

... _xdb_read_data(x, buf, ptr->off, ptr->len);//这里590行 /* save the key & value -> xtree */ voff = buf[16] + 17; 第590行,当_xdb_read_data文件读取失败时(如果offset超过文件大小就会失败),程序还会继续往下执行,这样下面的代码执行将会报错。

14.【求助】无法正确搜索结果

发布时间:2012-03-04 15:03 t By flyxl

...-----+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +----------+-------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | name | varchar(20) | NO | | | ...

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

发布时间: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 ...

16.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...

17.搜索全文时较慢,在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...

18.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 $...

19.使用讯搜搭建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...

20.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) ...

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