DSL query method based on Elasticsearch
A query method and query statement technology, applied in special data processing applications, instruments, electronic digital data processing and other directions, can solve the problems of inconsistent query API, difficult to understand semantics, complex query syntax, etc., to reduce learning costs and improve query. Availability, easy maintenance effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0012] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0013] figure 1 It is a schematic diagram of the Elasticsearch-based DSL query architecture of the present invention.
[0014] See figure 1 , the Elasticsearch-based DSL query method provided by the present invention comprises the following steps:
[0015] a) Add a DSL parsing engine at the Elasticsearch client layer to parse the query statement passed by the client;
[0016] b) Translate the query statement from the client into the corresponding grammar tree structure, and construct the native query function of Elasticsearch according to the depth-first traversal of the grammar tree;
[0017] c) Obtain Elasticsearch query results.
[0018] The DSL query method based on Elasticsearch provided by the present invention, the main process is realized as follows:
[0019] 1) Grammar template definition
[0020] Inheritance uses Antlr's g4 definition te...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com