Retrieval method and device based on separate character indexing system
一种索引系统、索引的技术,应用在搜索引擎领域,能够解决增加检索时间、降低单字索引系统检索性能等问题,达到提高整体性能、改善检索系统性能、减少交集运算次数的效果
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] attached image 3 It is a flow chart of Embodiment 1 of the method of the present invention. The retrieval method based on single character index system described in this embodiment comprises the following steps:
[0036] Step 101: receiving a search sentence input by a user;
[0037] The search sentence is the search object input by the user, and generally consists of a series of natural language morphemes and logical words describing the logical relationship between these morphemes. A morpheme is a meaningful character that constitutes a search sentence, and a logical word is the basis for logical operations. This embodiment is applicable to the occasion of "AND" logical retrieval. The sequence of logical words is an "AND" sequence, and the corresponding logical operation is an intersection operation.
[0038] Step 102: extracting the character sequence of the search statement, and splitting the character sequence to obtain a retrieval unit, the retrieval unit inclu...
Embodiment 2
[0048] Step 103 in the first embodiment mentions that the index document set is processed including the selection operation. This processing can have many specific implementation methods, as long as the processing step of the selection operation is included in these methods, it does not hinder the scope of the present invention. Realization of the purpose of the invention. For example, a comparison operation may be performed on multiple index document sets of the retrieval unit first, and the index document set with the least number of index documents is obtained through comparison and judgment, and then the index document set is selected as the retrieval result of the retrieval unit. Thus, another embodiment of the present invention can be constituted. Compared with the first embodiment, the second embodiment is the same except step 103 . See attached Figure 4 , step 103 of Embodiment 1 is changed in this embodiment to:
[0049] Step 203: comparing the number of index docu...
Embodiment 3
[0053] In step 103 of the first embodiment, it is mentioned that the index document set is processed including the selection operation. In addition to the method described in the second embodiment, it can also be carried out as follows: each index document set of the retrieval unit is divided into two groups, Perform intersection operation on the index document sets in each group, then compare the number of documents in the operation result document sets after the intersection operation in each group, and select the operation result document set with fewer documents as the retrieval result of the retrieval unit. Thus, another embodiment of the present invention can be constructed according to the above description, see appended Figure 5 . The difference between this embodiment and Embodiment 1 is that step 103 in Embodiment 1 is changed to:
[0054] Step 3031: Divide the index document set of the retrieval unit into two groups;
[0055] Here, as an embodiment, the index doc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 