Data retrieval method and device
A data retrieval and database technology, applied in the field of data processing, can solve problems such as low efficiency, consumption of retrieval server memory, and slow retrieval speed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] Please see figure 1 , figure 1 A schematic flowchart of a data retrieval method is provided for the embodiment of the present application. The method can be applied to various retrieval application scenarios, and specifically can be applied to retrieval scenarios using ElasticSearch (full-text search engine). Among them, the data retrieval method includes:
[0062] S101. Receive a data retrieval request.
[0063] In this embodiment, the data retrieval request may be a word segmentation search type query aggregation request.
[0064] In this embodiment, the data retrieval request can be a DSL (Domain Specific Language, domain-specific language); the DSL is a query language in JSON format supported by Elasticsearch, and usually includes a query filtering part, an aggregation statistics part, highlighting, etc. Auxiliary part. The basic process of the query is that the query filters part of the hit data, and the aggregation statistics part calculates the result based ...
Embodiment 2
[0082] Please see figure 2 , figure 2 It is a schematic flowchart of another data retrieval method provided in the embodiment of this application. figure 2 The flow diagram of the described data retrieval method is based on figure 1 Schematic flowchart of the described data retrieval method obtained with modifications. Among them, the data retrieval method includes:
[0083] S201. Receive a data retrieval request.
[0084] In this embodiment, the data retrieval request may be a word segmentation search type query aggregation request.
[0085] In this embodiment, the data retrieval request can be a DSL (Domain Specific Language, domain-specific language); the DSL is a query language in JSON format supported by Elasticsearch, and usually includes a query filtering part, an aggregation statistics part, highlighting, etc. Auxiliary part. The basic process of the query is that the query filters part of the hit data, and the aggregation statistics part calculates the result...
Embodiment 3
[0140] Please see image 3 , image 3 It is a schematic structural diagram of a data retrieval device provided in the embodiment of this application. Among them, the data retrieval device includes:
[0141] The receiving unit 310 is configured to receive a data retrieval request.
[0142] The splitting unit 320 is configured to split the data retrieval request according to a preset request splitting rule to obtain multiple split requests.
[0143] The retrieval unit 330 is configured to perform data retrieval on multiple split requests respectively, and obtain multiple retrieval results corresponding to the multiple split requests one-to-one.
[0144] The aggregation unit 340 is configured to aggregate multiple retrieval results to obtain a data retrieval result corresponding to the data retrieval request.
[0145] In this embodiment, for the explanation of the data retrieval device, reference may be made to the description in Embodiment 1 or Embodiment 2, which will not b...
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