搜索

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

1.xdb导入时关联xdb.class.php中的key错误

发布时间:2011-06-09 10:06 t By itlong

...: if ($cmp == false) $cmp = create_function('$a,$b', 'return strcmp($a[key],$b[key]);');//$a[key]这种写法非常不严谨,是低级问题。真不明白定这个函数的人是如何学php的,害人不浅。 改成 if ($cmp == false) $cmp = create_function('$a,$b', 'return strcmp($a["k...

2.RE: Missing value of primarky key

发布时间:2012-12-23 17:12 t By 973432436

问题已经解决,就是sql语句里不能含有~符号

3.Missing value of primarky key

发布时间:2012-12-21 16:12 t By 973432436

...xception] ../xunsearch/sdk/php/lib/XS.php(1018): Missing value of primarky key (FIELD:_ID) thrown /var/www/xunsearch/sdk/php/lib/XS.php 1018 我的查询语句是:SELECT `ID` as _ID,`title` as _title,`Content` as _body,`QuestionTime` as _time,`UserNam` as _user,`tag` as _tag FROM wenti_nr Whe...

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

5.请问有没有类似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里的可以实现吗?

6.制作词库的时候有一堆没用的报错(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...

7.为什么我更新的索引会没有数据呢?

更新时间:2012-09-28 10:09 t By zspoplar

...' . mysql_error()); $result=mysql_query("select id,title,time,sid,content,key from learn limit 4429 offset 3000"); while($r=mysql_fetch_array($result)){ $a["id"]=$r['id']; $a["title"]=$r['title']; $a["time"]=$r['time']; $a["sid"]=$r['sid']; $a["content"]=$r['content']; $a["key"]=$r['key'];...

8.RE: Xunsearch 讯搜商品检索中多属性精确搜索疑问

更新时间:2014-12-29 20:12 t By liubo

...etDb() 方法 可是,会报错哦。 $search = new XS('goods_a'); $key = 'ipad'; // $index = $search->index; // $index->setDb('goods_b'); $search->search->setDb('goods_b'); $docs = $search->search->setQuery($key)->search(); --------------------- error : 2376): Couldn't stat 'data/

9.不使用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 ...

10.RE: 纯HTML页面如何收录

更新时间:2012-04-06 23:04 t By iqpkeq

...id='705' dateline='1333591381'] 自己做个扫描程序,以文件名为key,内容为body建索引不就好了? xunsearch 本身并不是完整的搜索引擎,它是提供核心组件并附带一些例子 [/quote] 问题是如果是扫描程序,并不能做到实时啊![hr] [quot...

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