Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for synchronously searching indexes on basis of Lucene

A search method and indexing technology, applied in special data processing applications, instruments, electrical and digital data processing, etc., can solve the problems of the original stand-alone server search performance limit and the impossibility of post-expansion, so as to solve the search performance bottleneck, update guarantee, The effect of avoiding storage bottlenecks

Inactive Publication Date: 2013-12-04
TONGCHENG NETWORK TECH
View PDF1 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Regarding the description of the synchronization framework, the search performance of the original stand-alone server is limited
And later expansion is almost impossible

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for synchronously searching indexes on basis of Lucene

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The lucene-based index synchronization search method is particularly characterized in that it includes the following steps: first, an rsync server (rsync server) is deployed on an index server (Indexer server), and an rsync client is deployed on a search server. During this period, the version of rsync must be consistent.

[0022] After that, create an index locally through the index server, update the version file of the index to be consistent with the version file of the search server, and perform index synchronization. Specifically, the version file of the index will be updated. Once the search server detects the change of the version file on the index server, rsync will be used to synchronize the index to the local.

[0023] As far as a preferred embodiment of the present invention is concerned, after the index is synchronized, the index synchronization program tries to re-synchronize the index when it finds a problem with the index, and the search program on the se...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method and a device for synchronously searching indexes on the basis of a Lucene. The method is characterized by comprising deploying an rsync service side on an index server; deploying rsync client sides on search servers. Indexes are created by the index server locally, version files of the indexes are updated and are consistent with version files of the search servers, and the indexes are synchronized. The device comprises a search load balancing server. A main data communication side of the search load balancing server is connected with a user interaction assembly. An auxiliary communication side of the search load balancing server is connected with a data exchange hub assembly, the data exchange hub assembly is connected with an rsync server by a search server group, and a communication side of the rsync server is connected with an index assembly. The method and the device have the advantages that the problem of bottleneck of the index performance of a single server can be effectively solved, and the problem of influence of errors of the single server on index search implemented by a user is solved; the storage bottleneck of disks can be prevented by means of expanding the search servers.

Description

technical field [0001] The invention relates to a search method and a device thereof, in particular to a Lucene-based index synchronization search method and a device thereof. Background technique [0002] When the index is placed on a single server, if the performance of the single server is not good, it is usually considered to share the index with multiple servers to improve performance, but the disk performance of the server storing the index must be very strong, otherwise if the data volume continues to expand, it is easy to achieve The storage bottleneck of the disk, and if there is a problem with the server with the index, other servers will not be able to search. [0003] Regarding Lucene, it is a Java-based full-text information retrieval toolkit. It is not a complete search application, but a full-text retrieval engine architecture, which provides a complete query engine and index engine, and some text analysis engines (English and German) bilingual). Lucene is c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 王专吴志祥张海龙马和平吴剑郭凤林王晓钟庞绍进
Owner TONGCHENG NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products