搜索

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

1.请问有没有类似mysql里的" where 1=1 "的语句?

发布时间:2013-11-28 16:11 t By gdtv

在前端业务需求中要组合多个字段来搜索。 where 1=1 and key1=xxx and key2=xxx and key3=xxx "where 1=1"是为了在写代码的时候方便后面添加0个或者多个"and key1=xxx" 请问xunsearch里的可以实现吗?

2.xdb追加的遍历接口

发布时间:2012-06-17 13:06 t By hit

.c文件追加 [code] typedef struct xdb_tree_node { char *key; int vlen; int voff; struct xdb_tree_node* next; } xdb_tree_list, *xdb_tree_plist; int travel_index = -1; xdb_tree_plist _xdb_tree_plist = NULL; void _xdb_next_tree_read(xdb_t x, xptr_t ptr) { if (ptr->len...

3.制作词库的时候有一堆没用的报错(make_xdb_file)

发布时间:2013-08-06 15:08 t By Panda006

...ol\dev\ma ke_xdb_file.php on line 92 Notice: Use of undefined constant key - assumed 'key' in C:\Users\Administrato Desktop\tool\dev\xdb.class.php(447) : runtime-created function on line 1 PHP Notice: Use of undefined constant key - assumed 'key' in C:\Users\Adminis ator\Desktop\tool\dev\xdb...

4.不使用Indexer.php添加数据到xunsearch

更新时间:2012-12-21 20:12 t By Dull

...t(8) unsigned NOT NULL, `flag` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `sample` -- [/code] 新建一个数据表,crontab: [code]-- -- Table structure for table `crontab` -- CREATE ...

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

更新时间: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...

6.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超过文件大小就会失败),程序还会继续往下执行,这样下面的代码执行将会报错。

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

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

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

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

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

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

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