摘要
针对目前教育网庞大的FTP资源检索困难的问题,提出一种基于EdtFTPJ和Lucene的FTP搜索引擎的设计和实现方案。该方案整体上采用基于Struts1.2框架的模型-视图-控制器设计模式,数据采集模块利用基于正则表达式的有限状态自动机抓取数据,索引模块应用倒排索引方法,系统的分词算法使用基于字典的正向最大匹配中文分词法。实验结果表明,该方案具有较高的资源检索率,同时能够保证检索结果的准确性。
The number of File Transfer Protocol(FTP) resources on the China Education and Research Network(CERNET) is quite large.It is difficult to find the resources.Because of this problem,a high-performance FTP search engine is designed based on EdtFTPJ and Lucene.In this engine,Struts1.2 is employed to implement Model View Controller(MVC).Data acquisition module uses finite state machine based on regular expression to grab information.Index module uses inverted index method.Word segmentation algorithm uses maximally match Chinese words segmentation based on dictionary.Query Experimental results indicate that the proposed scheme improves the query efficiency,at the same time to ensure the accuracy of the retrieval results.
出处
《计算机工程》
CAS
CSCD
北大核心
2011年第16期39-41,共3页
Computer Engineering
基金
国家自然科学基金资助项目(60841004
60971110)
郑州大学创新性实验基金资助项目(2009cxsy100)