- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
搜索引擎系统
摘 要
网络中的资源非常丰富,但是如何有效的搜索信息却是一件困难的事情。建立搜索引擎就是解决这个问题的最好方法。本文首先详细介绍了基于英特网的搜索引擎的系统结构,然后从网络机器人、搜索引擎、Web服务器三个方面进行详细的说明。为了更加深刻的理解这种技术,我还亲自实现了一个自己的搜索引擎——数码产品搜索引擎。它是从指定的Web页面中按照超连接进行解析、搜索,并把搜索到的每条手机信息进行索引后加入数据库。然后通过Web服务器接受客户端请求后从索引数据库中搜索出所匹配的产品。在介绍搜索引擎的章节中除了详细的阐述技术核心外还结合了数码产品搜索引擎的实现代码来说明,图文并茂、易于理解。
关键词 网络机器人; 解析; 索引; 搜索引擎
Search engine system
Abstract
Network is very rich in resources, but how effective search information is a difficult task. The establishment of a search engine is to solve this problem the best way. This paper first introduced Internet-based search engines structure, and then from the network robots, search engines, Web server three aspects of detail. In order to more profound understanding of this technology, I also personally has its own search engine - digital products search engine. It is from the specified Web pages in accordance with the ultra-connection analysis, search, and search for each phone to the information indexed to join the database. Through the Web server and the client accepted a request from the index to search the database by matching products. In introducing the search engine in addition to detailed chapters on the core technology of digital products in conjunction with the search engine to illustrate the realization of the code, illustrated, easy to understand.
Key Words network robots ; Analysis ;Index ; SearchEngine
目 录
TOC \o 1-3 \h \z \u 绪 论 4
1搜索引擎的结构 5
1.1系统概述 5
1.1.1 网络机器人 5
1.1.2 索引与搜索 5
1.1.3 WEB服务器 6
1.1.4 系统的流程图 6
1.3 搜索引擎的主要指标 6
2 web爬虫 7
2.1 什么是web爬虫 7
2.2 Heritrix爬虫的组件 7
2.2.1 Heritrix的流程图 8
2.2.2 Heritrix的处理队列 9
3 基于Lucene的索引与搜索 9
3.1 什么是Lucene全文搜索 9
3.2 Lucene的原理分析 10
3.2.1全文检索的实现机制 10
3.2.2 Lucene的索引效率 10
3.2.3中文切分词机制 12
4 开发工具的介绍 13
4.1 Tomcat服务器 13
4.2 MYSQL数据库 14
4.3开发环境:MyEclipse 14
5垂直搜索引擎构建 14
5.1 网站的选择 14
5.2 对网站的分析并获得抓取清单 15
5.3 抓取清单获得以后,定制抓取类 15
5.4 网页抓取下来以后存放在磁盘上的镜像文件目录 15
5.5 对网页进行解析
文档评论(0)