LUCENE2.0 source code search engine architecture - based implementation
- Author
- LuoMei
- Advisor
- ZhangYuan
- School
- Northwestern Polytechnical University
- Major
- Software Engineering
- Classification
- TP391.3 Retrieval machine
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 692
- Citations
- 3
Abstract
Flourish in the Internet today , the information on the Internet is voluminous . People enjoy the convenience of the Internet at the same time , is also facing a problem , how huge information accurately and quickly find the information they need , which the Internet search engine came into being . Web search engine technology is becoming the computer science community and information industry competing research and development of object . A search engine is a web site on the Internet dedicated to provide inquiry services , these sites through the Web search software or website landing page to collect a large number of sites on the Internet , building a database after processing , enabling the user each kinds of inquiries , respond to , and provide the information required by the user . In this paper, the open source Lucene engine architecture designed and implemented a reusable , scalable search engine system Hicode, can be used to specifically search the web and local data in a programming language source code files , effectively positioning the user needs the location of a certain period of the program source code and its source file . This paper is the first to use open source Lucene search engine system Hicode tools . Then use the Java technology that reptiles , index and search the realization of three core part of the search engine . Reptilian part of Java multi - thread mechanism , using a thread pool to manage multiple crawl threads , concurrent crawl the web . Index and search part Lucene engine architecture to achieve a more effective Chinese Chinese word Lucene custom word , and also the introduction of serialization and JavaCC to improve the index of efficiency and development efficiency . Finally, a source code search engine integrated into the Liferay portal provides a user interaction interface .
Table of contents
Abstract 3-4
ABSTRACT 4-7
Chapter Introduction 7-9
1.1 search engine-related Description 7 -8
1.2 The main content and structure 8-9
Chapter LUCENE Introduction 9-18
2.1 LUCENE advantage 9 - 10
2.2 LUCENE features 10-13
2.2.1 Lucene features of each package 10-11
2.2.2 Lucene application logic 11-13
2.3 LUCENE mainly used to class 13-17
2.3.1 core index class 13-15
2.3.2 core search category 15-17
2.4 Summary 17-18
chapter describes open source tools 18-28
3.1 HTTPCLIENT 18-23
3.1.1 HttpClient several common methods 18-20
3.1.2 HttpClient basic principles of programming 20-22
3.1.3 HttpClient multithreading processing 22-23
3.2 DOM4J 23-25 ??
3.3 HTMLPARSER 25-27
3.3.1 HtmlParser main function 25 -26
3.3.2 Filtcr 26-27
3.4 Summary 27-28
Chapter HICODE system design and implementation 28-60 < br /> 4.1 system based sauce 28-29
4.2 CRAWLER information capture module 29-37
4.2.1 HttpClient 30-35
4.2.2 Parser 35-37
4.3 indexing module 37-42
4.3.1 Lucene index file principle 38-40
4.3.2 Lucene index step 40-41
4.3.3 Hicode indexing module implementation 41-42
4.4 segmentation module 42-49
4.4. a segmentation principle 42-45
4.4.2 Hicode segmentation system implementation 45-49
4.5 search module 49-54
4.5.1 Searcher (Finder) 49-53
4.5.2 IndexReader (read indexer) 53
4.5.3 query syntax introduced 53-54 <br / > 4.6 configuration file 54-58
4.6.1 plugin configuration 55-56
4.6.2 crawling task configuration 56
4.6.3 link filter configuration 56
4.6.4 Global Configuration 56-58
4.7 HICODE core design 58-59
4.8 Summary 59-60
Chapter LIFERAY portal integration 60-71
5.1 LIFERAY Profile 60-62
5.2 LIFERAY integrated HlCODE 62-70 < br /> 5.2.1 Portlet loading configuration 62-64
5.2.2 Hicode portlet implementation 64-67
5.2.3 Liferay deployment and operation of 67-70
5.3 Summary 70-71
Conclusion 71-72
References 72-74
During the master's degree published papers 74-75
Thanks 75-76
Related dissertations
- Research and Application of Full-text Retrieval Technology Based on Lucene
- Research and Design of Search Within Application System Based on Lucene
- Research and Design of Personalized Vertical Searching Engine Based on Collaborative Filtering
- Research and Application of Key Technologies for Biomedical Thematic Information Tracking and Service System
- The Research and Implementation of Search Engine Based on LUCENE
- Research and Implementation of Academic Search Engine Based on Nutch
- Design and Implementation of the Sohu News Search Engine Based on Crawler
- Based on the the Text Sentiment Network Public Opinion Analysis System
- Research and Implementation of Chinese Word Segmentation Technology Based on Lucene
- The Design and Implementation of Office Automation System for Beijing Lvyuanda Compressed Natural Gas Co.Ltd
- Design and implementation of search engine business information
- The Research and Implementation of Distributed Search Engine Based on Mapreduce
- Research and Realization of Chinese Vertical Search Technology
- Design and Implementation of a Vertical Search System
- Personalized Search Engine System Based on Lucene
- Research and Implementation of Personal Search Engine Based on Lucene
- Research and Implementation of Thevertical Search Engine for Electronic Information
- Study and optimization of Lucene inverted index based on Performance
- Build a search engine system laboratory data acquisition based on Lucene
- Research and Implementation of Nutch-Based Search Engine for Agricultural Information