基于Ajax+Lucene构建搜索引擎的设计与实现 摘 要 通过搜索引擎从互联网上获取有用信息已经成为人们生活的重要组成部分,Lucene是构建搜索引擎的其中一种方式。搜索引擎系统是在.Net平台上用C#开发的,数据库是MSSQL Server 2000。主要完成的功能有:用爬虫抓取网页;获取有效信息放入数据库;通过Lucene建立索引;对简单关键字进行搜索;使用Ajax的局部刷新页面展示结果。 论文详细说明了系统开发的背景,开发环境,系统的需求分析,以及功能的设计与实现。同时讲述了搜索引擎的原理,系统功能,并探讨使用Ajax与服务器进行数据异步交互,从而改善现有的Web应用模式。 关键词:Lucene.net;异步更新;Ajax;搜索引擎
The Designand Implementation for Constructing the Search Engine with Ajax and Lucene Abstract Obtaining usefulinformation from web by search engines has become the important part ofpeople's lives. Lucene is the way of constructing search engine. This system isbased on the .Net platform using C#. The database is MSSQL Server 2000. Mainfunctions are grasping web pages with crawls, adding effective information tothe database, establishing index with Lucene, searching through keywords, and displayingthe results finally. This paper hasshowed the principle of search engine in the form of different modules,functions of this system, improving traditional web application model using Ajax. It shows explanationof the system’s background, development environment, system analysis of demanding,and functions of design. Keywords: Lucene.net; Asynchronousupdate; Ajax; Searchengines
|