Supercharge Your Innovation With Domain-Expert AI Agents!

Full-text query method and device

A technology of full-text query and query method, which is applied in the field of full-text query method and device, can solve problems such as heavy workload and complicated operation, and achieve the effect of reducing workload

Inactive Publication Date: 2017-05-31
RUN TECH CO LTD BEIJING
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the query results in the full-text query are text, and special processing is required to meet the system requirements when processing query conditions and query results. The operation is complex and the workload is heavy.

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
  • Full-text query method and device
  • Full-text query method and device
  • Full-text query method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] figure 1 It is a flow chart of a full-text query method in Embodiment 1 of the present invention, and the method is used to quickly complete the full-text query function without interaction between a developer and a full-text index library. The method can be executed by a device with a full-text search function, and the device can be implemented by software and / or hardware, such as a typical user terminal device, such as a mobile phone, a computer, and the like. The operation method for the touch screen in this embodiment includes: step S110, step S120, step S130, step S140 and step S150.

[0023] Step S110, acquire metadata according to business requirements and establish a metadata model, and store the metadata model in the form of a full-text index library.

[0024] Specifically, before starting to develop software, developers analyze current specific business requirements to obtain business-related metadata, establish a metadata model, and store the metadata model ...

Embodiment 2

[0040] figure 2 It is a flow chart of a method for full-text query in the embodiment of the present invention. This embodiment is based on Embodiment 1. Before step S140 and after step S130, it also includes: determining the attribute of the data transmission object as The first query condition; or determine the relationship of each field calling condition object in the data transmission object as the second query condition. Specifically, the method for full-text query in this embodiment includes: step S210, step S220, step S230, step S240, step S250 and step S260.

[0041] Step S210, acquire metadata according to business requirements and establish a metadata model, and store the metadata model in the form of a full-text index library.

[0042] Step S220: Determine the corresponding data transfer object and the condition object corresponding to the data transfer object according to the metadata in the full-text index library.

[0043] Step S230, generating a corresponding ...

Embodiment 3

[0052] image 3 It is a structural diagram of a device for full-text search provided in Embodiment 3 of the present invention. The device is suitable for executing the method for full-text query provided by Embodiment 1 and Embodiment 2 of the present invention, and the device specifically includes: an acquisition unit 310 , a determination unit 320 , a generation unit 330 , an analysis unit 340 and a processing unit 350 .

[0053] The obtaining unit 310 is configured to obtain metadata according to business requirements and establish a metadata model, and store the metadata model in the form of a full-text index library.

[0054] The determination unit 320 is connected to the acquisition unit 310 and configured to determine the corresponding data transmission object and the condition object corresponding to the data transmission object according to the metadata in the full-text index library.

[0055] The generating unit 330 is connected to the determining unit 320 and confi...

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 discloses a full-text query method and device. The method comprises the steps of obtaining metadata and building a metadata model according to business requirements, and storing the metadata model in a mode of a full-text index library; determining a corresponding data transfer object and a condition object corresponding to the data transfer object according to the metadata in the full-text index library; generating a corresponding data access object according to the metadata model, wherein the data access object comprises a query method; obtaining a specific query object provided by a user, and analyzing the specific query object to a full-text query condition by the data access object; performing inquiring in the full-text index library according to the full-text query condition, and recording a query result. According to the full-text query method and device, fast completion of the query need of the user with no need for attention to a full-text query technology when a developer is in full-text query work is achieved, the full-text query method and device are convenient and fast, and the workload of full-text query development is reduced.

Description

technical field [0001] The embodiments of the present invention relate to the field of information technology, and in particular, to a full-text query method and device. Background technique [0002] At present, in the field of full-text query, the rapid query of information is mainly achieved through word segmentation of query conditions and retrieval of full-text index databases after word segmentation. However, such a method requires developers to have a better understanding of the mechanism of full-text retrieval in order to be able to use it well. In the development process of general information systems, developers often know less about full-text query and more about databases and objects. At the same time, in terms of system presentation, the full-text search results are in the form of an object list, more similar to a table. However, the query result in the full-text query is text, and special processing is required to meet the system requirements when processing t...

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): G06F17/30
CPCG06F16/33
Inventor 张超
Owner RUN TECH CO LTD BEIJING
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More