A method and system for data retrieval optimization based on elasticsearch
A technology of data retrieval and optimization method, applied in the field of big data, can solve the problems of inability to retrieve range adjustment, data retrieval delay, etc., to achieve the effect of optimizing storage structure and storage time, reducing storage, and enhancing storage capacity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] A data retrieval optimization method based on elasticsearch, the specific steps of the method are as follows:
[0042] S1 selects field data to generate an index according to the retrieval purpose:
[0043] S101 forms a series of words Term through grammatical analysis and language processing of the index file;
[0044] S102 forms a dictionary and an inverse index table through index creation;
[0045] S103 writes the index to the hard disk through index storage;
[0046] S2 obtains a series of words Term through grammatical analysis and language analysis of the input query statement;
[0047] S3 obtains a query tree through syntax analysis;
[0048] S4 reads the index into memory through index storage;
[0049] S5 uses the query tree to search the index, obtains the document linked list of each word Term, intersects the document linked list, and obtains the result document:
[0050] S501 searches based on elasticsearch and stores the original file in hbase;
[00...
Embodiment 2
[0060] A data retrieval and optimization system based on elasticsearch, the system specifically includes a word segmentation module, a filtering module, an analysis module, a storage module, a query module, a sorting module and a feedback module:
[0061] Word segmentation module: select field data to generate an index according to the retrieval purpose;
[0062] The word segmentation module specifically includes a processing module, a building module and a saving module:
[0063] Processing module: The index file is parsed and language processed to form a series of words Term;
[0064] Building module: form a dictionary and reverse index table through index creation;
[0065] Save module: write the index to the hard disk through index storage;
[0066] Filtering module: a series of words Term are obtained by grammatical analysis and language analysis of the input query statement;
[0067] Analysis module: get a query tree through syntax analysis;
[0068] Storage module: ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


