Search engine based on Lucene in English documents

Author
ZhangRui
Advisor
ZengJiaZhi
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP391.13 Form processing system
Degree
Master's thesis
Year
2008
Downloads
428
Citations
5

Request the full text

Abstract

Search engine becomes the main way to get information from the Internet. Simple web page search cannot satisfy users. Therefore, all kinds of search engines come out. Among all the internet information, word, ppt and excel documents contain large quantity of information that we need. Under such circumstances, search engine developers develop professional document search engine, such as Tianwang of Peking University. This kind of FTP document search engines is constraint in the scope of FTP servers, and the content of the FTP document is not indexed. Very few large scale search engine such as Baidu and Google indexed the content of document, nevertheless, they do not support FTP servers which is a great loss of information sources. As the scale of internet grows, the overall search result itself is a very huge collection. People need more specific and customized search engine. Therefore, flexible and easily configurable search is becoming more and more focused.The Chinese-English full-text document search engine that the author implemented differs from the existing search engine. It creatively simplifies and integrates the massive internet data. According to the attribute of simplified and integrated, we can apply this system to some specific area like document resource search for some specific website, document resource search in some specific field combined with vertical search technology. Our system first make up the deficiency of lack of information of existing document search engine; and second we can easily apply our system to document search field which has special requirement which requires low-end hardware because of the briefness, flexibility and configurable-ness of our system.This paper puts weight on the following aspects that the author implemented:1. System design and the work in purpose of optimizing on performance and extensibility.2. HTTP spider & FTP spider. Design & implement the spider for specific documents (word, ppt, excel). Illustrate the system structure, work flow, crutial components(DNS cache), design of URL overlap avoidance policy, design for Polite Nice policy, HTML page handler, design and implementation of document fetch module; illustrate the system design, performance optimization design, work flow of FTP spider; illustrate the method for document overlap avoidance, interface design & implementation for document analysis module.3. Design & implementation of document text extractor based on apache poi. Introduce the module design, implementation and optimization policy.4. Seaerch and UI modules based on apache lucene. Introduce principles of lucene, and illustrate the design for our search system and UI module concerning about the web technologies.The last chapter of the paper introduces the result of functionality test and performance test, and analyzes the work in the future which includes some optimization solutions for the current system.

Table of contents

Abstract 4-6 ABSTRACT 6-11 Chapter Introduction 11-16 1.1 Background 11-14 1.1.1 search engine introduced 11-14 1.1.2 Lucene introduced 14 120 research 14-15 1.3 paper organization 15 1.4 Summary 15-16 search engine system 16-23 2.1 collection system 16 2.2 index 16-19 2.3 retrieval system, 19-20 2.4 document search engine status quo 20-21 2.5 Summary 21-23 key algorithms and programs of the Chapter III system 23-46 3.1 small document search system implementations 23-26 3.1.1 HTTP Spider 23-24 3.1.2 FTP Spider 24 3.1.3 sub-word system 24 3.1.4 index 24-25 3.1.5 UI 25-26 3.2 Web crawling system 26-27 3.3 DNS cache 27-28 3.4 URL to the weight algorithm 28-30 3.5 for Chinese word segmentation algorithm 30-32 3.5.1 Hidden Markov model 30-31 3.5.2 multi-layer Hidden Markov Model 31 3.5.3 HMM segmentation algorithm based on the class 31-32 3.6 WORD, EXCEL, PPT document parsing 32-36 3.6.1 Apache POI introduced 32-33 3.6.2 Word document 33 3.6.3 Powerpoint, documents 33-35 3.6.4 Excel document 35-36 3.7 Lucene Analysis 36-45 3.7.1 Lucene main modules 36-38 composition of the 3.7.2 index file 38-41 3.7.3 Data Flow Analysis 41-42 3.7.4 storage abstraction 42-43 3.7.5 Lucene index construction logic module analysis 43-45 3.8 Summary 45-46 fourth chapter of the system design 46-88 4.1 system architecture 46-47 4.2 HTTP spider module 47-69 4.2.1 modular architecture 47-49 4.2.2 DNS Cache design and 49-54 4.2.3 HTTP spider running processes 54-57 4.2.4 FIFO design 57-62 4.2.5 Polite Nice grab handling and robots agreement 62-64 4.2.6 HTML page processes 64-65 4.2.7 documentation crawl 65-68 4.2.8 file to re 68 4.2.9 and document analysis module interface 68-69 4.3 FTP spider 69-79 4.3.1 FTP protocol outlined 69-70 4.3.2 Overall design 70-71 4.3.3 multi-threaded and multi-process to consider 71 4.3.4 FTP spider FTP commands used 71-73 4.3.5 FTP site information gathering process 73-77 4.3.6 documentation to re- 77-79 4.3.7 FTP to crawl between the files and parsing module interface 79 4.4 document parsing module 79-82 4.4.1 document parsing module is designed 79-82 4.4.2 storage optimization 82 4.5 retrieve and UI module 82-87 4.5.1 Web technology 82-83 4.5.2 JSP and servlet 83-84 4.5.3 retrieval process 84-86 4.5.4 formatted output 86-87 4.6 Summary 87-88 the fifth chapter of the experimental design and experimental results 88-93 5.1 Experimental environment and configuration 88-89 5.2 Experimental results 89-90 5.3 Effect Description 90-92 5.3.1 parse the document bad case ratio 90 5.3.2 retrieval results 90-91 5.3.3 Spider crawl rate 91 5.3.4 document parsing speed 91 5.3.5 storage compression ratio 91-92 5.4 Summary 92-93 Chapter VI Summary and Outlook 93-95 6.1 summarize 93-94 6.2 Looking 94 6.3 Summary 94-95 thank 95-96 References 96-100 research results achieved during the attack master 100-101

Related dissertations

  1. Lucene Full-text Search System Analysis and Expansion
    YangGuangYu ·Jilin University ·2009 ·Master's thesis
  2. Design and Realization of Information Navigation System Based on the Campus Network
    YuLeiLei ·Harbin Engineering University ·2013 ·Master's thesis
  3. Design and Implementation of Distributed Index and Search System Based on Cloud Platform
    YangJianDan ·Northeastern University ·2011 ·Master's thesis
  4. Design and Implementation of a Enterprise Search Platform
    LiXiaoDong ·Northeastern University ·2012 ·Master's thesis
  5. The Research and Application of Desktop Search Engine Based on Lucene
    HuangJiangPing ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  6. The Information Retrieval Research of Web Based on Mobile Terminal
    TangGuoFeng ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  7. Design and Implementation of the Sohu News Search Engine Based on Crawler
    LinWeiYe ·Sun Yat-sen University ·2012 ·Master's thesis
  8. Based on the the Text Sentiment Network Public Opinion Analysis System
    LiuAnHua ·Hunan University ·2013 ·Master's thesis
  9. The Design and Implementation of Searching Subsystem in Comparison Shopping Engine
  10. Design and Implementation of P2P Based on Full Text Retrieval System
    MengFanChao ·Jilin University ·2013 ·Master's thesis
  11. Research and Implementation of Chinese Word Segmentation Technology Based on Lucene
  12. Design and Implementation of Full-text Retrieval System Based on Lucene
    FanLei ·Xiamen University ·2014 ·Master's thesis
  13. Research and Implementation of Apparel Industry Prodcut Lifecycle Management System
    WuZuoFeng ·Shanghai Jiaotong University ·2013 ·Master's thesis
  14. The Design and Implementation of Internal File Sharing System of Enterprise Based on P2P
  15. Design and Implementation of the DHL Call Service Knowledge Tools
    SunYue ·Tianjin University ·2012 ·Master's thesis
  16. Designing and Implementation of Information Collection and Classification System Based on Web Crawler
    ZhouZuo ·Xiamen University ·2013 ·Master's thesis
  17. The Design and Implementation of Office Automation System for Beijing Lvyuanda Compressed Natural Gas Co.Ltd
    ZhaoPeng ·Shandong University ·2013 ·Master's thesis
  18. The Research and Implementation of An Information Security-oriented Vertical Search Engine
  19. Research on Traffic Terminology Similarity Matchment Based on Topic Vertical Search Engine
    WangFeng ·Chang'an University ·2013 ·Master's thesis
  20. Research on DBFS Technology and Implementation in Ocean Shipping Business Mail Management