Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for synchronizing data in Neo4j to search server

A technology for searching servers and data, applied in the field of graph databases, and can solve problems such as synchronization

Active Publication Date: 2021-04-09
南京星云数字技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a method and system for synchronizing data in Neo4j to a search server, solving the problem of how to synchronize graph data in Neo4j to a search server in real time

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 system for synchronizing data in Neo4j to search server
  • Method and system for synchronizing data in Neo4j to search server
  • Method and system for synchronizing data in Neo4j to search server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] see figure 1 , a method for synchronizing data in Neo4j to a search server, including:

[0056] Start the Neo4j graph database, create a search server client, construct a transaction event handler, and register the transaction event handler with the Neo4j service;

[0057] Using the transaction event handler, the graph data nodes and graph data relationships are respectively constructed into the document request objects of the search server and stored in the Map;

[0058] The transaction event processor is used to construct batch document request objects of the search server based on the document request objects, and the batch document request objects are synchronized to the search server cluster by means of the search server client.

[0059] The method for synchronizing data in Neo4j to the search server provided in this embodiment enables Neo4j to automatically convert the graph data changed after the submitted data is written into the transaction into batch document...

Embodiment 2

[0095] see Figure 4 , the present embodiment provides a system for synchronizing data in Neo4j to the search server, including an initialization module, a mapping module and a synchronization module, wherein the initialization module is used to start the Neo4j graph database, create a search server client, and construct a transaction event processor object, and register the transaction event handler object into the Neo4j service; the mapping module is used to use the transaction event handler to construct graph data nodes and graph data relationships into document request objects of the search server and store them in the Map; synchronization The module is used for constructing batch document request objects of the search server based on the document request object by using the transaction event processor, and synchronizing the batch document request objects to the search server cluster by using the search server client. The system that synchronizes data in Neo4j to 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 discloses a method and system for synchronizing data in Neo4j to a search server, and the method comprises the steps: starting a Neo4j graph database, creating a search server client, constructing a transaction event processor, and enabling the transaction event processor to be registered in a Neo4j service; respectively constructing a graph data node and a graph data relationship into a document request object of a search server by utilizing the transaction event processor, and storing the document request object into Map; utilizing the transaction event processor to construct batch document request objects of a search server based on the document request objects, and utilizing a search server client to synchronize the batch document request objects into a search server cluster. According to the system for synchronizing the data in the Neo4j to the search server, the method for synchronizing the data in the Neo4j to the search server is adopted, and the problem of how to synchronize the graph data in the Neo4j to the search server in real time is solved.

Description

technical field [0001] The invention relates to the technical field of graph databases, in particular to a method and system for synchronizing data in Neo4j to a search server. Background technique [0002] Neo4j graph database is a very popular graph database that provides powerful and stable graph storage and graph query functions. It is widely used in the field of knowledge graph applications, and search servers are often used to provide support for search services in application systems. [0003] Graph visualization is an application field of knowledge graph, which usually includes services such as search query and presentation of graph data. In the visualization application scenario of the knowledge map, the search server can be used to assist in the construction of query services for graph data, and the graph data can be synchronized to the search server cluster, and then the graph data can be efficiently queried from the search server to avoid directly querying the gr...

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
IPC IPC(8): G06F16/36G06F16/901
CPCG06F16/367G06F16/9024
Inventor 葛煜徐志欣
Owner 南京星云数字技术有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More