A data search method and device

A search method and data technology, applied in the information field, can solve the problems of large indexes, waste of server memory resources, and index overlay and enlargement, and achieve the effect of saving memory resources.

Active Publication Date: 2021-09-21
BEIJING MINJING HEFENG TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, each additional custom attribute field in the document will cause the overall index to become larger
Especially when different documents use different custom attribute fields, the index will be overlaid and enlarged, resulting in a great waste of server memory resources

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 data search method and device
  • A data search method and device
  • A data search method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0069] In a document search engine, in order to quickly retrieve content, the information written in all fields of the document is processed to generate an index. When searching for data, you can directly search for the searchable fields of the index to quickly find documents that meet your requirements. The document to be written may contain any number of fields (also called columns), and the index generated for each document incl...

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 data search method and device. Retrieve the values ​​of the retrievable fields in the index during retrieval, find the value that matches the query keyword carried in the search command, and obtain and parse the value when it is determined that the value that matches the query keyword has a custom attribute A custom field to obtain a custom attribute with a value matching the query keyword; wherein, the custom field is a newly created custom field in the index of the search engine, and the document can be stored in a specified encoding method in the custom field Retrieves all specific values ​​in the field and the custom properties corresponding to that specific value, and the custom field is not retrieved when doing the retrieval. By using the same custom field to store all the custom attributes of specific values ​​in the searchable fields of different documents, and dynamically obtain the custom attributes from the custom field when retrieving, the space occupied by the index is reduced, and the server is greatly saved. memory resources.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a data search method, a data search device, a computer storage medium and a computing device. Background technique [0002] ElasticSearch is an open source document search engine based on the Lucene framework. It has distributed multi-user capabilities and can quickly store, search and analyze massive data. It is currently a popular enterprise-level search engine. The design of ElasticSearch for cloud computing can achieve real-time search and high-performance computing. At present, the mature Elasticsearch5.x version is widely used in various full-text retrieval platforms and cloud computing service platforms, such as Elasticsearch5.2.0, Elasticsearch5.5.3, etc. [0003] An index is a data structure created in a search engine to quickly retrieve content. In ElasticSearch, the information written into all fields of the document is indexed, processed and written into the da...

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 Patents(China)
IPC IPC(8): G06F16/31G06F16/33
Inventor 王成龙
Owner BEIJING MINJING HEFENG TECH CO LTD
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