A method for constructing and using FQL query language and a system thereof

A query language and query statement technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as large additional costs

Active Publication Date: 2019-01-18
FOCUS TECH
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, whether it is the query syntax of Elasticsearch or Solr, users are required to have a certain understanding of the grammatical rules defined by the corresponding full-text search engine system, and there is a certain learning cost.
In addition, there is currently no unified query language suitable for Lucene in the industry. Once the server adopts a new full-text search engine system, such as switching from Solr to Elasticsearch, the entire client and application need to adjust the query language accordingly. Build code, at huge additional cost

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 for constructing and using FQL query language and a system thereof
  • A method for constructing and using FQL query language and a system thereof
  • A method for constructing and using FQL query language and a system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0085] The present invention will be further described below in conjunction with accompanying drawing and exemplary embodiment:

[0086] Such as figure 1 The steps of the method for constructing and using the shown FQL query language include:

[0087] Step 1, define the FQL query language, and construct the conversion mechanism from the FQL query language to the Lucene query language.

[0088] Step 2, searching and querying the information to be retrieved according to FQL query language grammar rules;

[0089] Described step one comprises:

[0090] Step 1, define the FQL query language, that is, the functions supported by FQL and the corresponding lexical and grammar. Described FQL query language promptly is applicable to the query language of Lucene full-text retrieval engine system;

[0091] Step 2, define the grammatical analysis process of the FQL query language;

[0092] Step 3, analyze the FQL query language, and parse out the original query condition;

[0093] Ste...

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 discloses a method for constructing and using FQL query language and a system thereof. The method comprises the following steps: 1. Defining FQL query language and constructing a conversion mechanism from FQL query language to Lucene query language; 2. searching and querying that information to be retrieved according to the grammatical rules of the FQL query language; The FQL query language system comprising an information source module, a search client module, a search server module, a FQL analysis module, a Lucene query language construction module and an index query module. The invention simplifies the whole query sentence as much as possible, achieves the purpose of easy use and easy maintenance, and is very easy to remember, which is beneficial for the developer to improve the development efficiency.

Description

technical field [0001] The invention relates to the field of full-text retrieval, in particular to a method for constructing and using an FQL query language and a system thereof. Background technique [0002] Lucene is an open source and widely used full-text search library, which simplifies the construction of full-text search services. The information retrieval function provided can be regarded as a structured data query function similar to a relational database to some extent. Developers can build their own full-text search engine system based on Lucene to provide full-text search services. Retrieving information based on query conditions is one of the core functions of Lucene. Lucene itself provides a wealth of query methods, such as: Boolean query, phrase query, span query, etc., which can meet different query scenarios. When using the query interface of Lucene, the query condition needs to be converted into the Lucene query language to complete the search process. ...

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/242
Inventor 赵亮亮
Owner FOCUS TECH
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