Font Size: a A A

The Design And Implementation Of General Search Engine In"Search-View" Design Pattern

Posted on:2014-02-27Degree:MasterType:Thesis
Country:ChinaCandidate:Y Z LiuFull Text:PDF
GTID:2248330398972063Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the rapid development of the Internet, a large number of applications are developed, in order to satisfy the rising requirements from users. When a new oppotunity comes, before similar applications’ large eruption, the first released application often becomes the leading application in this field. Therefore the development speed is the key to Internet Application Providers and Software Vendors. In order to make the application’s time to market as short as possible, to reduce the development process and its cost, developers often select professional third parties’ capability components.This paper first studied MVC software development pattern. In order to solve some MVC’s problems, e.g. high learning cost, complicated abstract, this paper puts forward the "Search-View" design pattern, and the corresponding Generic Search Engine (GSE).In the "Search-View" pattern, applications use interfaces, which are provided by GSE, similar to those of the traditional search engine to get the data and are responsible for the rendering. GSE provides the abilities of dealing with document contents, tag labels and scores, allows applications to post original data via interfaces, and also supports searching with structured queries and getting the results. The introduction of GSE reduce the development process and cost obviously. GSE is more adapt to current application development requirements, due to its scalability.GSE consists of word segmentation module, merge module, inverted index storage module, sort module and interface module. To evaluate the performance of real-time index system, this paper fulfills a performance test on inverted index module, and makes the compare between the performance of the implementation of Lucene and the implementation based on MySQL. In the end, this paper also presents an application example based on GSE and followed "Search-View" design pattern, to verify the design and implementation brought forward in this paper.
Keywords/Search Tags:Design Pattern, Search, Real-time, Performance, Lucene, MySQL
PDF Full Text Request
Related items