Index construction method, retrieval method, device and system
An index and index segment technology, applied in the field of retrieval, can solve the problems of low effective utilization of memory and affect retrieval speed, etc., and achieve the effect of improving memory utilization and retrieval speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0086] This embodiment provides a method for building an index, see figure 1 , the method flow provided by this embodiment is specifically as follows:
[0087] 101: Constructing the data obtained in each preset time period into a primary index segment, and merging the constructed primary index segment into a set of primary index segments after each preset time period ends;
[0088] 102: copy each primary index segment in the primary index segment set, and merge it into the corresponding large index segment to obtain the large index segment set;
[0089] 103: Send the primary index segment in the primary index segment set or the large index segment in the large index segment set to the retrieval device, so as to provide a retrieval service.
Embodiment 2
[0092] This embodiment provides a method for building an index, see figure 2 , the method flow provided by this embodiment is specifically as follows:
[0093] 201: Construct the data obtained in each preset time period into a primary index segment;
[0094] For this step, this embodiment does not limit the size of the preset time period. For the convenience of illustration, this embodiment only takes the preset time period as 5 minutes as an example, then the method provided in this embodiment will The acquired data are each constructed into a primary index segment. Since constructing data into an index segment is a very mature prior art, this embodiment does not describe and limit in detail the manner of constructing the acquired data into a primary index segment.
[0095] Specifically, the built primary index segment contains independent index structures of multiple data, including but not limited to inverted index, deletion table, basic document information and other cu...
Embodiment 3
[0122] This embodiment provides a device for constructing an index, which is used to execute the method for constructing an index in the second embodiment above, see Figure 5 , the device consists of:
[0123] A construction module 501, configured to construct a primary index segment from the data acquired within each preset time period, and merge the constructed primary index segment into a set of primary index segments after each preset time period ends ;
[0124] A merging module 502, configured to copy each primary index segment in the primary index segment set obtained by the construction module 501, and merge it into a corresponding large index segment to obtain a large index segment set;
[0125] The sending module 503 is configured to send the primary index segments in the primary index segment set obtained by the construction module 501 or the large index segments in the large index segment set obtained by the merging module 502 to the retrieval device for providing...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



