The Research and Implementation of Distributed Search Engine Based on Hadoop

Author
FengJun
Advisor
Hu
School
Taiyuan University of Technology
Major
Software Engineering
Classification
TP391.3 Retrieval machine
Degree
Master's thesis
Year
2010
Downloads
1,208
Citations
10

Request the full text

Abstract

Distributed Search Engine is a combination of a new distributed computing technology and full-text retrieval technology information retrieval system. It has changed the way people access information, and allow people to get information more effectively, and now it has gone deep into every aspect of the network life, known as the Internet first stop. Most of the search engine system have the same structure - centralized structure, that all the features of the system modules centralized deployment on a server, which led directly to the system server hardware performance requirements, at the same time, the system has poor stability high scalability drawbacks. It is necessary in order to overcome the above drawbacks to purchasing a very expensive server to meet the system requirements, however, not everyone can afford such high costs. In addition, traditional information retrieval systems, and many have adopted the original string matching to search results This search method are simple to implement, but larger than the data when the search efficiency is very low, the customer can not timely access to effective information. These two drawbacks to the promotion of the search engine brings a great challenge. To address this challenge, the search engine system, the introduction of distributed computing and inverted file full-text search technology. In this paper, based on the analysis of the current several distributed search engine system, summarizes the strengths and weaknesses of the existing system for the deficiencies of the existing system, Hadoop-based distributed search engines. The research work is functional modules to improve on traditional search engines, detailed analysis of the crawling, indexing, search process steps, the The non sequence of steps is further broken down into two parts: data calculation and data consolidation. At the same time, the application of the Map / Reduce programming model thinking, to encapsulate data computing tasks to the Map function, data consolidation task encapsulate the Reduce function. The above improved search engine system can deploy Hadoop distributed environment of cheap PC with high response speed, reliability and scalability. Very closely aligned with the technical requirements in distributed search engines, this paper use Hadoop as a system of distributed computing platforms. In addition, the system uses a full-text retrieval techniques based on inverted file, build the inverted index Keywords units module, combined with TF-IDF and PageRank algorithm, improved page score strategy to optimize the search results. Finally, a detailed analysis of the problems encountered in the process of system module in the application of Map / Reduce programming model, and its solution. Build a small 4-node distributed search engine system, by crawling, indexing and retrieval of network resources, and system reliability and scalability testing, obtaining experimental data. Verified on the basis of analysis of experimental data, are proposed based on the the of Hadoop distributed search engine rationality.

Table of contents

Abstract 3-5 ABSTRACT 5-11 The first chapter 11-15 1.1 research background 11-12 1.2 search engine development 12-13 1.3 Distributed Search Engine Research 13-14 1.4 content of this study and thesis chapters arrangements 14-15 Chapter distributed search engine-related technical analysis 15-33 2.1 distributed computing technology 15-19 2.1.1 Map / Reduce programming model 15-16 2.1.2 Hadoop platform Introduction 16-17 2.1.3 HDFS distributed file system 17-18 2.1.4 Hadoop distributed computing engine 18-19 2.2 inverted file text search technology 19-26 2.2.1 indexing technology 19-20 2.2.2 inverted file index principle 20-21 2.2.3 Lucene framework 21-23 2.2.4 Lucene indexing mechanism 23-24 2.2.5 Lucene file system 24-26 2.3 Chinese word segmentation 26-28 2.3.1 Chinese word segmentation method 26-27 2.3.2 Chinese word segmentation difficulty 27-28 2.4 Uniform Resource Locator 28 2.5 MD5 algorithm 28-29 2.6 ROBOTS agreement 29-31 2.7 related software tools 31-32 2.7.1 HttpClient 31 2.7.2 HTMLParser 31 2.7.3 Log4j 31 2.7.4 Cygwin 31-32 2.8 Chapter Summary 32-33 Chapter distributed search engine design 33-41 3.1 System Architecture 33-35 3.2 Business subsystem design 35-37 3.2.1 Distributed crawling subsystem design 35-36 3.2.2 distributed indexing subsystem design 36-37 3.2.3 Distributed Query subsystem design 37 3.3 subsystem internal execution flow 37-39 3.3.1 crawling process 37-38 3.3.2 indexing step 38-39 3.3.3 user query response 39 3.4 Summary 39-41 Chapter distributed search engines realize 41-59 4.1 Distributed crawling subsystem implementation 41-49 4.1.1 subsystem module division 41 4.1.2 URL selection and segmentation module 41-42 4.1.3 Distributed web access module 42-44 4.1.4 Distributed page analysis module 44-46 4.1.5 Link filtering module 46-47 4.1.6 distributed data storage module 47-49 4.2 distributed indexing subsystem implementation 49-55 4.2.1 unified multi-format document processing module 49-50 4.2.2 Chinese word segmentation module 50-51 4.2.3 Web rated module 51-53 4.2.4 distributed index generating module 53-55 4.3 distributed query subsystem implementation 55-58 4.3.1 foreground query interface 55-56 4.3.2 Distributed Query module 56-58 4.4 Summary 58-59 Chapter System testing and analysis 59-67 5.1 experimental environment 59 5.2 distributed search engine configuration 59-62 5.2.1 SSH service configuration 59-60 5.2.2 Hadoop core module configuration 60-62 5.3 Test Data Analysis 62-65 5.3.1 System Performance Testing 62-63 5.3.2 System Reliability Test 63-64 5.3.3 system scalability testing 64-65 5.3.4 Chinese word segmentation test 65 5.4 Summary 65-67 Chapter Summary and Outlook 67-69 6.1 Work Summary 67 6.2 Prospects 67-69 References 69-71 Thanks 71-73 papers published during the master's degree directory 73

Related dissertations

  1. The Research and Application of Search Engine Based on Hadoop
    FanChenXi ·Zhejiang Sci-Tech University ·2013 ·Master's thesis
  2. Design and Implementation of the Sohu News Search Engine Based on Crawler
    LinWeiYe ·Sun Yat-sen University ·2012 ·Master's thesis
  3. A Research and Implementation with Improved K-Means Clustering Algorithm to Image Retrieval System Based on Hadoop Platform
    LiGuangPu ·Xiamen University ·2014 ·Master's thesis
  4. Research of Building Cloud Computing Platform for Processing and Analyzing Massive Data
  5. The Research and Design of Distributed Data Mining System Based on Hadoop
    WuGuiYun ·Tianjin University ·2012 ·Master's thesis
  6. Design and implementation of search engine software system for mobile environment
    WangHuaPeng ·Fudan University ·2012 ·Master's thesis
  7. A MapReduce based video copy detection system
    YaoYu ·Fudan University ·2011 ·Master's thesis
  8. Research on Key Technology of Massive Image Retrieval Based on Hadoop
  9. Research on Parallel Clustering Algorithm Based on Map-Reduce
  10. The Design and Implementation of Product’s Ranking of Merchandise Search Engine
    WengLiLin ·Nanjing University ·2012 ·Master's thesis
  11. Hadoop Based Distributed Storage and Algorithm Analysis for Mass Futures Data
    LiYongJun ·Tianjin University ·2012 ·Master's thesis
  12. Hadoop Method and System Design of Massive Sensor Information Processing Based on Service Platform of the Internet of Things
  13. Research on Key Technologies of Distributed Web Crawling
    XuXiao ·Harbin Institute of Technology ·2011 ·Doctoral dissertation
  14. Join Prpcessing and Optimizing on Large Clusters
    ChangDongXia ·East China Normal University ·2011 ·Master's thesis
  15. How Consumer Personality Affects Online Choice
    ShenBingQing ·Tsinghua University ·2013 ·Master's thesis
  16. Design and Implementation of Cloud Computing Platforms Monitoring System
    ZhangRenFeng ·Northeastern University ·2011 ·Master's thesis
  17. Fault Detection Mechanism in the Cloud Environment
    LiLiang ·Central South University ·2012 ·Master's thesis
  18. The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
    ChenYunLong ·Wuhan University of Technology ·2013 ·Master's thesis
  19. The Research on Data Processing Cloud Platform of Large Open Style Wharf Mooring Monitoring System
    SunLei ·Dalian Jiaotong University ·2013 ·Master's thesis
  20. Design and implementation of remote fault diagnosis center equipment based on Cloud Computing