| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1981 人关注过本帖
标题:The search technique what I thought
只看楼主 加入收藏
nick_annie
Rank: 1
等 级:新手上路
帖 子:105
专家分:0
注 册:2005-11-19
收藏
得分:0 
以下是引用baidu在2006-7-24 16:32:50的发言:

那偶以后不理你了

这还是算了吧....毕竟我初学....要靠baidu哥哥以及其他同人们罩啊!


2006-07-24 16:39
baidu
Rank: 3Rank: 3
等 级:新手上路
威 望:8
帖 子:3811
专家分:0
注 册:2005-11-4
收藏
得分:0 
是啊,是啊,哥罩你

偶放弃所有文章版权,偶在BCCN论坛任何贴子,可转贴,可散发,可抄袭,可复制,可被冒名顶替,可被任何人引用到任何文章中且不写出引文出处,偶分文不取。
2006-07-24 16:40
nick_annie
Rank: 1
等 级:新手上路
帖 子:105
专家分:0
注 册:2005-11-19
收藏
得分:0 
俄.......你个家伙.....

2006-07-24 16:43
nick_annie
Rank: 1
等 级:新手上路
帖 子:105
专家分:0
注 册:2005-11-19
收藏
得分:0 
貌似kai同学也来自上海.....

2006-07-24 17:06
ysol
Rank: 1
等 级:新手上路
帖 子:107
专家分:0
注 册:2006-6-11
收藏
得分:0 
LZ的观点的确高明!不过实现起来是不是要向卡巴那样先给每个文件打上烙印,以方便它们响应搜索???如果搜索不是经常的,这种开销是否过大呢?请LZ更深入点阐述。
2006-07-24 17:11
kai
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:52
帖 子:3450
专家分:59
注 册:2004-4-25
收藏
得分:0 
ysol,

you are right. Usually the search funktion will not be always used, But when we use it, we all want get the answer as quickly as possible. So it is well worth to pay some space for better search.

Today, google and baidu are the mostly used search engine. When the software is purely a search engine, then some payment for place is well worth. Do you think so?

I think, it is the first talk with you. Nice to meet you.

自由,民主,平等,博爱,进步.
中华民国,我的祖国,中华民国万岁!中华民国加油!
本人自愿加入中国国民党,为人的自由性,独立性和平等性而奋斗!
2006-07-24 22:36
myajax95
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:30
帖 子:2978
专家分:0
注 册:2006-3-5
收藏
得分:0 

Kai:

If every object in your system is an active listener, the performance might be a big concern. Since DB should be able to handle a huge amount of data. Table is built for facilitating the search, basically building up some references or hierarchies. I think it is inevitable. Plus, should every listener listen to every search command, doesn’t sound efficient. Thanks for not posting it in German


http://myajax95./
2006-07-24 23:57
nick_annie
Rank: 1
等 级:新手上路
帖 子:105
专家分:0
注 册:2005-11-19
收藏
得分:0 
WOW....football fan of Ajax+C plus plus "banzhu"+English lover=?(Well,should be perfect!)

2006-07-25 00:14
myajax95
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:30
帖 子:2978
专家分:0
注 册:2006-3-5
收藏
得分:0 
I'm not an English lover at all. I have to use it everyday otherwise I'll get kicked out from my company.

http://myajax95./
2006-07-25 00:15
kai
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:52
帖 子:3450
专家分:59
注 册:2004-4-25
收藏
得分:0 
myajax95,

a listener is just an extern object, and every file object just add the listener. code like this.

For example you have tree structure for your file system. I name it fileTree

MySearchListener msl = new MySearchListener();
fileTree.add(msl);

// code for search

fileTree.doSearch( your search content );

自由,民主,平等,博爱,进步.
中华民国,我的祖国,中华民国万岁!中华民国加油!
本人自愿加入中国国民党,为人的自由性,独立性和平等性而奋斗!
2006-07-25 00:59
快速回复:The search technique what I thought
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.064442 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved