Method and device for operating Elastic Search

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

Active Publication Date: 2017-09-12
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 8 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, t

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 operating Elastic Search
  • Method and device for operating Elastic Search
  • Method and device for operating Elastic Search

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

The invention relates to the technical field of internet, in particular to a method and device for operating Elastic Search. The method includes the steps of acquiring data to be operated from the upstream of the Elastic Search; utilizing SQL to conduct conversion operation on the data to be operated; converting the data which is about to be operated into targeted operation data which are provided with a data structure corresponding to the Elastic Search; encapsulating the targeted operation data and the class type of conversion operation into one Action class; utilizing the Action class to operate the Elastic Search. Since the compiling amount of the method and device for operating Elastic Search is small, when services are changed, modification amount can still remain small, and the configuration of the device is flexible, and moreover, the device also supports batch processing.

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
IPC IPC(8): G06F9/44G06F9/45G06F17/30
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