A Study on Compression Algorithm Performance Based Inverted Index

Author
PanShengYi
Advisor
WanJian
School
Hangzhou University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP391.3 Retrieval machine
Degree
Master's thesis
Year
2009
Downloads
80
Citations
2

Request the full text

Abstract

In the era of information explosion, tens of millions of new info is generated in the internet, which leads to rapid increasement of web pages. How to efficiently locate and find target-info in massive level dataset? It makes search engine become one of the most popular techniques and put forward higher requirements for search engine’s performance. For search engine, the index structure is closely related to the performance; inverted index is the most commonly used by search engine to represent index. Inverted index regards“term”as the beginning of search, traces numerous information sources containing that term. In inverted index, one per term, recording the identifiers of the documents containing that term, frequencies and positions of term in documents: term->( f d ,t, d i, [ p0 ,…p freq?1 ]). Our research of index compression algorithm is based on the inverted index structure.Applying index compression could not only reduce storage space, but also improve search performance. A compressed index requires less storage space, compressed data makes better use of the available communication bandwidth; more information can be transferred per second than when the data is uncompressed. The total time cost of transferring compressed data and subsequently decompressing is potentially much less than the cost of transferring uncompressed data. In order to improve search performance, search engine usually caches inverted lists in memory; on the premise of equal cache size, more compressed data could be stored and then improve cache hit ratio.In this paper, we compare Variable-Byte, Simple9 and PForDelta three compression schemes on open source information retrieval system—Lucene. Paper focuses on the compression and storage of document ID, frequency and position info in Lucene word-level inverted index. Some new compression algorithms are proposed in recent years, but there is no one has compared the state-of-the-art compression technique on popular, open-source and Java environment’s IR system. Our main work includes: 1) improving the implementation of PForDelta, which has the fastest decompression speed, and then demonstrating our improvement with experiment. 2) Discussing the impact of if-then-else construction in decompression process on performance in Java environment. 3) Research whether index file is interleaving has remarkable discrepancies in compression ratio and decompression speed. 4) Comprehensively comparing algorithm’s compression ratio and the performance of term and phrase search on the different scale of document sets.As shown in the experiment results, Variable-Byte has the most stable performance under different scale of document sets and performs very well in skipped phrase search. Simple9 has the best compression ratio; but the program performance damage caused by branch prediction has been weakened in JVM, Simple9’s term search performance is weaker than other two methods. Owing to removing if-then-else construction in key decompression program, PForDelta has the fastest term search speed. When keeping value distribution non-interleaved, the term search of Simple9 and PForDelta has 5%-8% performance improvement. As a result of skipped phrase search mechanism, the Simple9 and PForDelta which decompresses integers in batch don’t perform well on phrase search. But with inverted list becomes longer, PForDelta’s phrase search performance gradually improves.

Table of contents

Summary 5-7 ABSTRACT 7-11 Chapter 1 Introduction 11-15 1.1 topics background 1.2 significance of the topic 11-12 1.3 content and related work 12-13 the 1.4 paper structure 13-15 the Lucene in Chapter 2 of the inverted index 15-24 2.1 the inverted index exposition 15-16 2.2 inverted index construction 16 - 17 2.3 Lucene index structure 17-23 2.3.1 Lucene characteristics and related expounded 17-18 2.3.2 Lucene functional structure analysis 18-20 2.3.3 Lucene index file to build 20-23 2.4 Chapter Summary 23-24 Chapter 3 inverted index compression algorithm 24-35 3.1 compression algorithm summarization 24-25 3.2 Variable-Byte coding 25-26 3.2.1 Algorithm Analysis 25-26 3.2.2 algorithm 26 3.3 Simple9 coding the 26-28 3.3.1 algorithm analysis 26-28 < br /> 3.3.2 algorithm to achieve nbsp the 28 3.4 PForDelta coding; the 28-34 3.4.1 algorithm analysis 28-30 3.4.2 algorithm 30 3.4.3 Algorithm and experimental 30-34 3.5 Chapter Summary 34-35 Chapter 4 affect the performance of the algorithm factors 35-41 4.1 based on Lucene experimental deployment 35 4.2 if-then-else construct Java programs 35-38 <br / > 4.2.1 Lucene parity strategy the 35-36 the 4.2.2 branch structure of the impact evaluation 36-38 4.3 numerical intervals distributed compression algorithm 38-40 4.4 Chapter Summary 40-41 Chapter 5 index compression algorithm performance research 41-49 5.1 compression ratio algorithm 41-44 5.1.1 Experimental results compare the 41-42 5.1.2 algorithm compression ratio Differences 42-44 5.2 algorithm key word query performance 44-45 5.3 algorithm, the phrase query performance the 45-48 5.3.1 phrase query mechanism 45-47 5.3.2 Performance Analysis 47-48 5.4 Chapter Summary 48-49 Chapter 6 Summary and Outlook the the 49-51 6.1 paper summarizes 49-50 the 6.2 Research Prospects 50-51 Acknowledgements to References 51-52 52-55 Appendix 55-56 Chinese detailed summary 56-60

Related dissertations

  1. Study and optimization of Lucene inverted index based on Performance
  2. Design and Implementation of Distributed Index and Search System Based on Cloud Platform
    YangJianDan ·Northeastern University ·2011 ·Master's thesis
  3. Design and Implementation of the Sohu News Search Engine Based on Crawler
    LinWeiYe ·Sun Yat-sen University ·2012 ·Master's thesis
  4. The Design and Implementation of Office Automation System for Beijing Lvyuanda Compressed Natural Gas Co.Ltd
    ZhaoPeng ·Shandong University ·2013 ·Master's thesis
  5. Research on DBFS Technology and Implementation in Ocean Shipping Business Mail Management
  6. Design and implementation of search engine business information
    ZhengJinHong ·Fudan University ·2011 ·Master's thesis
  7. The Research and Implementation of Full-Text System Based on Lucene and Textual Image
  8. The Research and Implementation of Distributed Search Engine Based on Mapreduce
    ZhangChao ·Taiyuan University of Technology ·2012 ·Master's thesis
  9. Personalized Search Engine System Based on Lucene
    MiaoZeLin ·China Ship Research Institute ·2013 ·Master's thesis
  10. Research and Implementation of Personal Search Engine Based on Lucene
    DingZhaoGui ·Hunan University ·2011 ·Master's thesis
  11. Research on Information Extraction and Full Text Retrieval of Crop Diseases Articles
  12. Build a search engine system laboratory data acquisition based on Lucene
    LiuYongWei ·Capital Normal University ·2013 ·Master's thesis
  13. Research and Implementation of Nutch-Based Search Engine for Agricultural Information
  14. Research and Application of Full-text Retrieval Technology Based on Lucene
    YeJiPing ·Jiangnan University ·2012 ·Master's thesis
  15. Research on the Duplicated Web Pages Detection Algorithms of Search Engine
    ZuoFuLiang ·Henan University of Technology ·2012 ·Master's thesis
  16. Research and Design of Public Opinions Information Search System Base on LUCENE
    GuoZuo ·PLA Information Engineering University ·2012 ·Master's thesis
  17. Research and Implementation of Enterprise Search Engine System Based on Lucene
    ZhuChongLai ·Chongqing University of Technology ·2012 ·Master's thesis
  18. Design and implementation of search engine software system for mobile environment
    WangHuaPeng ·Fudan University ·2012 ·Master's thesis
  19. Research and Design of Search Within Application System Based on Lucene
  20. Research and Design of Personalized Vertical Searching Engine Based on Collaborative Filtering
    ZhangXingBang ·Jilin University ·2013 ·Master's thesis