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

Index migration method and device, electronic equipment and storage medium

An indexing and search engine technology, applied in the Internet field, can solve the problems that mapping cannot meet the needs of data growth, migration processing is not convenient, and the complexity is high, so as to achieve the effect of improving data processing efficiency, reducing data processing complexity, and efficient and smooth migration

Pending Publication Date: 2021-08-06
GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in practice, there may be situations where the existing designed mapping cannot meet the needs of data growth. Since the existing search engine does not support operations such as field deletion and field data type change on the original index mapping structure, it is often the case at this time The mapping needs to be redesigned, and the index is rebuilt based on the redesigned mapping, and the old index data is migrated to the new index after the change
[0004] In the process of implementing this application, the inventors found that when index migration is performed in the existing method, for the incremental data received during the migration process, the developer often develops a migration script (Script) to realize the old and new indexes. Data double-writing function. On the one hand, this method requires developers to develop in real time according to the existing situation, resulting in inconvenient migration processing; The possibility of inconsistency, therefore, synchronous writing is often used to double-write index data, which has the problems of high complexity and low efficiency

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
  • Index migration method and device, electronic equipment and storage medium
  • Index migration method and device, electronic equipment and storage medium
  • Index migration method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0026] The following description of at least one exemplary embodiment is merely illustrative in nature and in no way intended as any limitation of the disclosure, its application or uses.

[0027] Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.

[0028] In all examples shown and discussed herein, any specific values ​​should be construed as exemplary only, and not as limitations. Therefore, other instances of the exemplary embodiment m...

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 an index migration method and device and electronic device. The method comprises the steps: obtaining a first request according to a target task queue, wherein the first request is used for updating a first index of target data, and the target data is incremental data received by a search engine in the index migration processing process; according to the first request, updating the first index, and according to execution states of all requests in the first request, obtaining first state information; under the condition that the first state information shows that the first request is successfully executed, executing second index updating processing of the target data, wherein the structure of the second index is different from that of the first index. According to the method, smooth migration of the data on the new and old indexes can be conveniently and efficiently realized.

Description

technical field [0001] The present disclosure relates to the technical field of the Internet, and more specifically, to an index migration method, device, electronic equipment, and computer-readable storage medium. Background technique [0002] With the continuous development of Internet technology, in order to quickly provide data to users, applications can generally manage data in applications through search engine products, such as ElasticSearch (hereinafter referred to as ES), Solr, OpenSearch and other search engine products. [0003] Taking ES as an example, the current search engine products can realize functions such as fast retrieval of data, data aggregation, and data modeling by creating indexes. Among them, when creating an index, the structure of the index can be defined through mapping. It can include defining the fields included in the index, the data types of the fields, and index attributes. However, in practice, there may be situations where the existing d...

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): G06F16/21G06F16/22G06F9/54G06F16/23
CPCG06F16/214G06F16/2272G06F9/546G06F16/23G06F2209/548Y02D10/00
Inventor 梁为涛
Owner GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD
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