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

Method and device for realizing complex query of mass data based on Elasticsearch and medium

A mass data and complex technology, applied in the field of data search, can solve the problems of time-consuming and labor-intensive retrieval, complex programming technology, etc.

Active Publication Date: 2019-12-06
汉纳森(厦门)数据股份有限公司
View PDF10 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the existing Elasticsearch requires complex programming techniques during secondary development, making it time-consuming and labor-intensive to build a search

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 realizing complex query of mass data based on Elasticsearch and medium
  • Method and device for realizing complex query of mass data based on Elasticsearch and medium
  • Method and device for realizing complex query of mass data based on Elasticsearch and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0076] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0077] figure 1 It shows a method of the present invention for realizing complex query of massive data based on Elasticsearch, and the method includes the following steps.

[0078] The database construction step S1 is to construct an Elasticsearch cluster as a distributed d...

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 provides a method and a device for realizing complex query of mass data based on Elasticsearch and a medium. The method comprises the following steps: firstly, constructing an Elasticsearch cluster as a distributed database for storing mass data; constructing a search model based on the matching mode, the data type, the data type attribute and the matching strategy; realizing a parent class, a search query condition combination class and a bucket aggregation field class of the search model by using a Java language; receiving a query condition input by a user and generating a search object; generating a search instance by using the search object based on the search model; and then analyzing the search instance by using an analysis engine and converting the search instance intoan ES-DSL query statement, and finally submitting the DSL query statement to an Elasticsearch cluster for query and returning a query result to the user. A large number of full-text retrieval searchengines can be rapidly built through Elasticsearch, and complex query of large number of data can be achieved only through configuration without professional programming; and hundreds of million-leveldata millisecond-level response query experience can be obtained.

Description

technical field [0001] The invention relates to the technical field of data search, in particular to a method, device and medium for complex query of massive data based on Elasticsearch. Background technique [0002] In the era of big data, how can enterprises quickly and accurately search for key information from massive amounts of data. For enterprises, building a full-text retrieval system for massive data requires consideration of many factors. Regardless of algorithms, it is first necessary to build a stable distributed file system, not to mention various algorithms in the field of search engines and in order to meet individual needs. Build a flexible and robust architecture system based on customized customization requirements. And the full-text retrieval systems for massive data on the market, such as "google", "Baidu", "sogou" and other companies are all large companies. Therefore, for small and medium-sized enterprises, how to quickly build a stable and easy-to-us...

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/27G06F16/2457G06F16/248
CPCG06F16/27G06F16/2457G06F16/248
Inventor 郑旭巫朝星陈旺明林智辉
Owner 汉纳森(厦门)数据股份有限公司