基于Lucene的全文搜索引擎设计
- 格式:doc
- 大小:526.50 KB
- 文档页数:34
……………………………………………………………最新资料推荐…………………………………………………
基于Lucene的搜索引擎
作者姓名:王旭 专业班级:2010050704 指导教师:涂德志
摘要
从1994年至今,万维网经过了二十年的飞速发展,当前的万维网数据规模到底有多大无从估量。随着网络信息资源的急剧增长,现如今,信息已经不再是一种稀缺的资源,我们的注意力反而变得稀缺了。人们越来越多地关注如何快速有效地从海量的网络信息中,抽取出潜在的、有价值的信息,使之有效地在管理和决策中发挥作用。搜索引擎提供了一种便捷的获取网络信息的途径,只要你能在电脑上打字,那么你就能通过“输入关键字+自行浏览”的用户交互方式快速查找到自己感兴趣的资源。目前Web搜索引擎(SearchEngine) 技术正成为计算机科学界和信息产业界争相研究、开发的对象。
搜索引擎是指互联网上一种提供用户查询的一类应用。通过人工目录整理或者是网络爬虫收集互联网上已经存在的网页,在用户输入查询词后,将相关网页迅速展现给用户。用户自行浏览后选择最合适期望的链接,进入查看。
关键词:网络信息资源 Web搜索引擎查询
……………………………………………………………最新资料推荐…………………………………………………
ABSTRACT
Since 1994, the World Wide Webaftertwo decades ofrapid development, how muchthe
currentsize ofthe World Wide Webisincalculable. With the rapid growth of network information
resources, nowadays, the information is no longera scarce resource, however,our attention
becamescarce.more and more concerned about howquickly and efficiently from the vast amounts
of network information, to extract potentially valuable information to effectively play a role in the
management and decision-making. Search engines provide a convenient way to obtain network
information, as long as you can type on a computer, then you can through the mode: "keywords +
browse" ,to quickly find the resources you are interested. Currently Web search engine (Search
Engine) technology is becoming the target computer science and information industry compete on
development.
Search engine on the Internet refers to a method of providing a user queries a class of applications.
Sorting through artificial catalog or web crawlers to collect Web pages on the Internet already exist,
after the user enters the query words, the relevant pages quickly presented to the user. Choose the
most appropriate link , browse the desired postinto view.
Keywords:Network Information Resources Web Search Engine Consult
……………………………………………………………最新资料推荐…………………………………………………
I
目录
第1章 前 言 ............................................................. 1
1.1 搜索引擎的学术背景与实际意义 ................................ 1
1.2 国内外文献综述 ............................................... 2
1.3 课题来源及主要研究内容 .......................................
2
第2章 相关技术介绍 ....................................................... 4
2.1 JSP与Tomcat .................................................. 4
2.2 SQL Sever数据库 .............................................. 4
2.3 Ajax简介 ..................................................... 5
2.4 Lucene介绍 ...................................................
5
第3章 搜索引擎原理 ....................................................... 8
3.1 搜索引擎体系结构 ............................................. 8
3.2 搜索引擎主要模块功能介绍 ..................................... 9
3.2.1 搜索器 (Crawler) ..................................... 10
3.2.2 索引器 (Indexer) ..................................... 11
3.2.3 检索器(Searcher) ..................................... 12
3.2.4 用户接口((UserInterface) .............................
12
第4章 系统分析 .......................................................... 13
4.1 需求分析..................................................... 13
4.2 系统可行性分析 .............................................. 14
4.2.1 社会可行性分析 ................................. 14
4.2.2 技术可行性分析 ................................. 14
4.2.3 经济可行性分析 .................................
14
第5章 总体设计 .......................................................... 15
5.1 系统构架..................................................... 15
5.1.1 索引建立子系统 ...................................... 16 ……………………………………………………………最新资料推荐…………………………………………………
II
5.1.2 用户接口子系统 ...................................... 17
5.2 数据库设计 .................................................. 17
5.3 实现环境配置 ................................................
18
第6章 详细设计 .......................................................... 19
6.1 建立索引.................................................... 19
6.2 文件搜索实现 ............................................... 20
6.3 数据库搜索实现 ............................................. 22
6.4 后台数据编辑实现 ...........................................
23
第7章 系统测试 .......................................................... 25
7.1 测试重要性 ................................................. 25
7.2 测试用例 .................................................... 26
结 论 .................................................................... 28
致 谢 .................................................................... 29
参考文献 ................................................................. 30