Unlock instant, AI-driven research and patent intelligence for your innovation.

Data query method and device based on Elasticsearch

A data query device and data query technology are applied in the field of data query and can solve the problems of difficulty in use, low efficiency, and reduced retrieval efficiency, etc.

Pending Publication Date: 2021-05-07
武汉悦学帮网络技术有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it has been found in practice that the existing data query methods based on ElasticSearch need to learn a more complex DSL language, which is too professional for most users and difficult to use. When you are not familiar with professional query syntax, use professional Grammatical retrieval is very inefficient
It can be seen that the existing ElasticSearch-based data query methods need to learn DSL language, which has high learning costs and reduces retrieval 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
  • Data query method and device based on Elasticsearch
  • Data query method and device based on Elasticsearch
  • Data query method and device based on Elasticsearch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0051] It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

[0052] Please see figure 1 , figure 1 A schematic flowchart of an Elasticsearch-based data query method is provided for the embodiment of this application. This method is applied to the scenario of aggregated data query based on Elasticsearch. Among them, the data query method based on Elasticsearch includes:

[0053] S101. Obtain an SQL data query instruc...

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 embodiment of the invention provides a data query method and device based on Elasticsearch, and relates to the technical field of data query, and the data query method based on Elasticsearch comprises the steps of firstly, acquiring an SQL data query instruction input by a user; then determining an aggregation statistical parameter according to the SQL data query instruction, and generating a comprehensive query statement according to the aggregation statistical parameter and the SQL data query instruction; and finally, performing Elasticsearch-based query according to the comprehensive query statement to obtain a data query result, so that multi-dimensional aggregation index statistics can be realized by directly compiling an SQL data query instruction, relatively complex Elasticsearch DSL query grammar does not need to be learned, the query grammar is simplified, the learning cost of business developers is reduced, and the retrieval efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of data query, in particular, to an Elasticsearch-based data query method and device. Background technique [0002] ElasticSearch is a distributed, highly scalable, and high-real-time search and data analysis engine that enables the analysis of massive log data. Existing ElasticSearch-based data query methods are usually implemented through DSL (Domain Specific Language, Domain Specific Language) query statements. However, it has been found in practice that the existing data query methods based on ElasticSearch need to learn a more complex DSL language, which is too professional for most users and difficult to use. When you are not familiar with professional query syntax, use professional Syntax for retrieval is very inefficient. It can be seen that the existing data query method based on ElasticSearch needs to learn DSL language, which has high learning cost and reduces retrieval efficiency. 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): G06F16/242G06F16/2458
CPCG06F16/2433G06F16/2458
Inventor 刘俊佩付星
Owner 武汉悦学帮网络技术有限公司