- 1、本文档共57页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于Solr的索引擎研究与实现
摘要
随着信息时代的来临,人们的生活、学习、工作和娱乐已经与信息技术充分的融为一体。随着群众对互联网参与度的增加和企事业单位信息化的逐步深入,信息量也成倍地增长,如何能更好地从浩如烟海的数字信息中快速、精准地查找到需要的信息,成为全国人民的迫切需求。尤其是处于信息化建设道路上的中小企业,如何快速且廉价地开放自己的信息检索系统,对于企业的成长至关重要。
本文介绍了搜索引擎的基本原理,对搜索引擎的一些核心技术进行了介绍与深入的分析;介绍了Lucene搜索引擎工具包的架构及其基本使用;对基于开源搜索引擎包 Lucene的搜索框架Solr进行架构、代码、配置等方面的研究;最后设计并实现了一个基于Solr1.3的简单可用的多库搜索引擎。整个设计过程致力于提高管理维护的方便性和可扩展性。
关键词:
Abstract
With the advent of the information era, peoples lives, study, work and entertainment have been fully integrated with information technology. With the participation of the masses on the Internet and increase in the number of information-based enterprises, the amount of information has become several times as before. How to get useful information quickly and accurately has become an important thing to everyone. For the small and medium-sized enterprises, how to develop its own message retrieval system quickly and cheaply is essential for the growth of enterprises.
In this paper, we introduce the basic principles of search engine and analyses a number of core technologies. I also introduce Lucene search engine tools, its basic framework and how to use it. We analyses Solr, which is an open source search engine based on Lucene, and its architecture, code, configuration. At last, we design and implement a simple multi-database search engine based on Solr1.3.
Keywords: Lucene ; Solr ; Search Engine ; Spider ; Chinese Word Segmentation
目 录
前言 5
1.1 绪论 5
1.2 开源搜索引擎研究的意义和现状 7
第二章 中文搜索引擎关键技术 8
2.1 搜索引擎基本结构 8
2.2 中文分词 10
2.3 相关排序 13
2.4 搜索引擎响应速度 17
2.5 网络蜘蛛 18
第三章 开源搜索引擎Solr 20
3.1 搜索引擎包Lucene 20
3.1.1 Lucene简介 20
3.1.2 Lucene与Solr的关系 20
3.1.3 Lucene的结构 21
3.1.4 Lucene的使用 22
3.1.5 Lucene的评分公式 26
3.1.6 Lucene的搜索结果排序 27
3.2 Solr的介绍 28
3.2.1 Solr的特点与优势 28
3.2.2 Solr1.3的新特性 29
3.3 Solr的配置和使用 29
3.3.1 Solr1.3服务器的部署 29
3.3.2 Solr1.3体系结构图 30
3.3.3 solr.xml配置文件 31
3.3.4 schema.xml配置文件 31
3.3.5 solrconfig.xml配置文件 33
3.3.6 查询HTTP接口参数 36
3.4 Solr1.3的核心机制 36
3.4.1 内核调用机制 36
3.4.2 分库机制 37
3.4.3 缓存机制 37
第四章 基于Solr的搜索引擎
您可能关注的文档
- 基于C#的数据编程.docx
- 基于CANopn总线协议的城市地铁数据通信网设计.docx
- 基于CAN总线智能照明控制系统设计.doc
- 基于Civam村社的生态社区思考.doc
- 基于CPLD的SB下载电缆设计.doc
- 基于CPLD的路信号采集器的硬件电路设计.doc
- 基于CPT技术电动汽车充电控制系统设计--任务书.doc
- 基于DCT域自应中频嵌入的数字水印算法.doc
- 基于Delph的数据库图片插入新方法.doc
- 基于Delph的电子天平数据采集系统设计.doc
- 四川省德阳市罗江中学2025届高三考前热身化学试卷含解析.doc
- 山东省枣庄现代实验学校2025届高三下学期第五次调研考试化学试题含解析.doc
- 吉林省长春市十一高中等九校教育联盟2025届高三一诊考试生物试卷含解析.doc
- 2025届江苏省盐城市伍佑中学高考仿真模拟化学试卷含解析.doc
- 2025届广西贺州中学高考冲刺押题(最后一卷)生物试卷含解析.doc
- 安徽省池州市贵池区2025届高三第一次模拟考试生物试卷含解析.doc
- 宁夏银川一中2025届高三(最后冲刺)化学试卷含解析.doc
- 广东省广州市增城区四校联考2025届高考压轴卷化学试卷含解析.doc
- 2025届邯郸市第一中学高考生物必刷试卷含解析.doc
- 2025届安徽省安庆市石化第一中学高考仿真卷化学试卷含解析.doc
最近下载
- 绿色金融改革创新试点政策对企业经营绩效的影响研究.pdf VIP
- 赣州市南康区赞贤小学开展“扣好人生第一粒扣子——我爱我的祖国主题演讲比赛活动方案.doc
- 个人医保承诺书模板.docx VIP
- 绿色金融改革创新试点政策对企业绿色创新的影响-来源:创新与创业教育(第2022002期)-中南大学.pdf VIP
- 信息技术环境下的数学教学设计结题报告.doc VIP
- 国金证券:新型消费研究系列-便利店-小业态大生意-打造便利生活.pdf
- HIKARI富山奇立铺布机使用说明书.doc
- 部编版语文四年级上册第七单元大单元教学设计核心素养目标.pdf VIP
- 三级助理舞台灯光师题库考点(三).docx VIP
- (格式已排好)国家开放大学电大《计算机应用基础(专)》终结性考试大作业答案任务一.doc
文档评论(0)