Study and Implementation of Inverted Index on Hadoop

Author
DaiWanNeng
Advisor
DaiYuanShun
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP391.3 Retrieval machine
Degree
Master's thesis
Year
2013
Downloads
80
Citations
0

Request the full text

Abstract

With the development of the Internet, the amount of data to be processed by thesearch engine becomes more and more large. So, the performance of the search engineshould be getting better and better. Inverted index is a key component of a search enginesystem; the structure and organization of Inverted index and the algorithm of query anddynamic updating have a great impact on the efficiency of information retrieval. Inorder to increase the efficiency of information retrieval, Distributed platform has beenused in Search engine system. Hadoop is a popular open-source distributed platformwhich has been applied to many systems, and achieves very good results. ThroughHadoop Distributed programming become more convenient and parallel computingbecome easier, which will increase the efficiency of system. Therefore, constructing aninverted index structure based Hadoop is important to increase the efficiency of searchengines.This thesis designs and constructs an inverted index structure base on distributedsystems—Hadoop, using the HDFS file system and the Map-Reduce. To some extent, itcan save disk storage space and increase the efficiency of information retrieval.Firstly, this thesis studies and analysis the architecture, the major component, andtwo key technologies--Map-Reduce programming model and HDFS file system ofHadoop; Then it studies the processes of the submission of Map-Reduce job and therunning of the task, analyzes the data flow of the whole process, as well as principlesand methods of application design base on Hadoop; Base on the analysis ofimplementations and related algorithms of the traditional inverted index, verifies thepossibility of realizing it on Hadoop.Base on that, this thesis designs an inverted index structure, which consists of themain index, the segment index, the deleted index and dictionary library. And then wedescribe each part of the structure in detail, Design inverted file storage strategy basedon word frequency and word frequency ranking, as well as the compression of inverteditems—blended coding. We also design an inverted index construction algorithm inMap-Reduce, an inverted index update algorithm base on the segment index, an inverted index delete algorithm base on the segment index and an inverted index query algorithmbase on the dictionary library. At last, we implement above inverted index structure andoperation algorithms on Hadoop distributed cluster environment and then do test andverification.

Table of contents

Summary 5-6 ABSTRACT 6-12 first chapter 12-18 1.1 Background 12-13 1.2 related technology research status research status 13-15 1.2.1 search engine technology 13-14 1.2.1.1 search engine development history 13 1.2.1.2 search engine-related technologies 13-14 1.2.2 distributed computing platform - HADOOP overview of the development and application 14 1.2 .3 inverted indexing status of technical research 14-15 1.3 of this thesis research and chapter arrangement 15-18 1.3.1 research and its significance 15-16 1.3.2 thesis chapters arranged 16-18 the second chapter analyzes related technologies 18-30 2.1 distributed computing platform - analysis nbsp HADOOP of ; 18-23 2.1.1 distributed File System HDFS research 18-21 2.1.1.1 HDFS system model 18-20 <br / > 2.1.1.2 HDSF characterization 20-21 Research 2.1.2 MAP-REDUCE model 21-23 2.1.2.1 MAP-REDUCE model Overview 21 2.1.2.2 MAP-REDUCE job processing flow 21-23 2.2 inverted indexing technology analysis and research 23-25 ?? 2.2.1 Overview 23 2.2.2 inverted list and build 23-25 ?? 2.2.3 inverted updated list of 25 2.3 search engine related technologies analysis and research 25-28 2.3.1 Chinese word 25-27 2.3.2 Web crawler technology 27-28 2.4 chapter Summary 28-30 under Chapter III of the inverted index HADOOP platform architecture design 30-42 3.1 PSIIS inverted index structure design 30-35 <br / > 3.1.1 Overview 30-31 3.1.2 PSIIS overall structure 31-35 3.1.2.1 PSIIS related definitions and concepts described 31-33 3.1.2.2 PSIIS constitutes 33-35 3.2 inverted file design 35-37 3.3 inverted index compression 37-41 3.3.1 inverted index compression techniques outlined 37 3.3.2 inverted index compression coding 37-40 3.3.3 inverted index file compression 40-41 3.4 Summary 41-42 Chapter inverted index -related operations designed 42-53 4.1 Construction of the inverted index design 42-45 4.1.1 hashing algorithm design 42-44 4.1.2 inverted index construction process 44-45 4.2 the new inverted index design 45-48 4.2.1 update method based on the inverted index segment index 45-46 4.2.2 update process design 46-48 4.3 inverted index deletion design 48-50 4.3.1 deleting an index based on inverted index deletion policy 48 4.3.2 removal process design 48-50 4.4 inverted index query design 50-52 4.4.1 inverted index query design ideas 50-51 <br / > 4.4.2 inverted index query process 51-52 4.5 Summary inverted index 52-53 Chapter HADOOP platform to achieve 53-64 5.1 PSIIS inverted index data structure design 53-56 5.1.1 main index data structure 53-54 5.1.2 paragraph index data structure 54-55 5.1.3 delete the index data structure achieve 55-56 5.2 Dictionary library 56-57 5.3 down achieve emission index building process MAP function 57-60 5.3.1 build process REDUCE function 58-59 5.3.2 build process 59 - 60 5.4 inverted index added and deleted realize achieve 60-62 5.4.1 new function 60-61 5.4.2 delete function realization 61-62 5.5 inverted index query process to achieve 62-63 5.6 Summary 63-64 Chapter 6 System performance analysis 64-72 6.1 experimental environment to build 64-67 6.1.1 test Equipment information 64-65 6.1.2 software environment build step 65-67 6.2 experimental results and analysis 67-70 6.2.1 inverted index coding testing and analysis 67-68 6.2.2 build inverted index testing and analysis 68-69 6.2.3 inverted index query testing and analysis 69-70 6.2.4 update inverted index test and analysis 70 6.3 summary 70-72 Chapter VII summary and Outlook 72-74 7.1 of this paper summarizes 72 7.2 prospects 72-74 Thanks 74-75 References 75-78

Related dissertations

  1. Design and Implementation of Distributed Index and Search System Based on Cloud Platform
    YangJianDan ·Northeastern University ·2011 ·Master's thesis
  2. The Research and Implementation of Technologies for Analyzing Internet Text Based on Hadoop
    ZhouTao ·Central China Normal University ·2014 ·Master's thesis
  3. Design and implementation of dynamic feedback load balancing algorithm in heterogeneous environment based on Hadoop
  4. Research on SSD-based Inverted Index Construction and Maintenance Strategies
  5. The Research and Implementation of Parallelism of Information Retrieval Related Algorithms Based on Mapreduce
    XiaoZuo ·Nanjing University ·2012 ·Master's thesis
  6. Research on Key Technology of Massive Image Retrieval Based on Hadoop
  7. The Research and Implementation of Entity Identification Subsystem in the Data Management System of Quality and Quantity
    HuoRan ·Harbin Institute of Technology ·2013 ·Master's thesis
  8. Research on Parallel Clustering Algorithm Based on Map-Reduce
  9. Research on Data Mining under Cloud Computing Platform
  10. Research and Implementation on Chinese Information Retrieval System Based on Structured Vector Space Model
    CaoWeiPing ·Beijing University of Technology ·2008 ·Master's thesis
  11. A Restricted Domain Text Retrieval System
    LiHuiMin ·Inner Mongolia University ·2007 ·Master's thesis
  12. Research on Knowledge Relevance Based on Knowledge Element Retrieval
    LuChengXiao ·Nanjing University ·2012 ·Master's thesis
  13. Research on Domain Ontology Constructing and Retrival in Forestry Area
    JingQin ·Nanjing Agricultural College ·2013 ·Master's thesis
  14. Design and Implementation of Cloud Computing Platforms Monitoring System
    ZhangRenFeng ·Northeastern University ·2011 ·Master's thesis
  15. Fault Detection Mechanism in the Cloud Environment
    LiLiang ·Central South University ·2012 ·Master's thesis
  16. The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
    ChenYunLong ·Wuhan University of Technology ·2013 ·Master's thesis
  17. The Research on Data Processing Cloud Platform of Large Open Style Wharf Mooring Monitoring System
    SunLei ·Dalian Jiaotong University ·2013 ·Master's thesis
  18. Design and implementation of remote fault diagnosis center equipment based on Cloud Computing
  19. Research and Design of Smart Home System Based on Cloud Services
  20. Research of Distributed Support Vector Machine (SVM) Based on Hadoop Cloud Platform
    NiuKe ·Shanxi Normal University ·2014 ·Master's thesis