A method and device for operating elasticsearch

A technology to be operated and target operation, applied in the Internet field, can solve the problems of poor configuration flexibility, large amount of code modification, large amount of code compilation, etc., to achieve the effect of small compilation amount, flexible configuration, and support for batch operations

Active Publication Date: 2020-08-04
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing solutions for operating ElasticSearch generally encapsulate the official client toolkit provided by ElasticSearch. The encapsulation process is closely coupled with the specific business logic. Therefore, the above-mentioned method of operating ElasticSearch has poor configuration flexibility, and the code in the application The amount of compilation is large, and when the business changes, the amount of code modification is large

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
  • A method and device for operating elasticsearch
  • A method and device for operating elasticsearch
  • A method and device for operating elasticsearch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0040] An embodiment of the present invention provides a method for operating ElasticSearch, such as figure 1 As shown, the method includes:

[0041] Step 101: Obtain the data to be operated from the upstream of the ElasticSearch.

[0042] In this application, the data to be operated is List>valuesMap4Param, and the data to be operated can be queried from hive, can be queried from the database, and can also be obtained from a spec...

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

A method and device for performing an ElasticSearch operation. The method comprises: acquiring data to be manipulated from an ElasticSearch upstream location (101); employing SQL to perform a conversion operation on the data to be manipulated to convert same into target operation data having an ElasticSearch-compatible data structure (102); encapsulating the target operation data and the type of the conversion operation as an Action type (103); and employing the Action type to perform an ElasticSearch operation (104). The method has advantages of a light compilation load, flexible configuration, and batch operation support.

Description

technical field [0001] The present invention relates to the field of Internet technologies, in particular to a method and device for operating ElasticSearch. Background technique [0002] ElasticSearch is a Lucene-based search server that is usually used in cloud computing and has the characteristics of real-time search, stability, reliability, speed and easy installation. However, the existing solutions for operating ElasticSearch generally encapsulate the official client toolkit provided by ElasticSearch. The encapsulation process is closely coupled with the specific business logic. Therefore, the above-mentioned method of operating ElasticSearch has poor configuration flexibility, and the code in the application The amount of compilation is large, and when the business changes, the amount of code modification is large. Contents of the invention [0003] In view of the above problems, the present invention is proposed to provide a method and device for operating Elastic...

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 Patents(China)
IPC IPC(8): G06F8/36G06F8/72G06F8/41G06F16/2453
CPCG06F8/36G06F8/443G06F8/72G06F16/24534
Inventor 朱旋张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products