发明名称 |
METHOD AND AN APPARATUS FOR FAST MERGING INVERTED CHAINS |
摘要 |
In accordance with various embodiments of the disclosed subject matter, a method for fast merging inverted chains, and a related apparatus are provided. In some embodiments, the method comprises: pre-setting an inverted index including a plurality of inverted chains and recording a length of each inverted chain; searching the inverted index and obtaining a subset of the plurality of inverted chains that correspond to at least one keyword; sorting the subset of the plurality of inverted chains in an ascending order of the lengths of the subset of multiple inverted chains; and merging the subset of the plurality of inverted chains sequentially as the ascending order starting from one of the subset of the plurality of inverted chains that has the shortest length. |
申请公布号 |
US2017083610(A1) |
申请公布日期 |
2017.03.23 |
申请号 |
US201615270725 |
申请日期 |
2016.09.20 |
申请人 |
GUANGZHOU SHENMA MOBILE INFORMATION TECHNOLOGY CO., LTD. |
发明人 |
WANG GANG;WAN MINGCHENG;ZENG HONGLEI |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for fast merging inverted chains, comprising:
pre-setting an inverted index including a plurality of inverted chains and recording a length of each inverted chain; searching the inverted index and obtaining a subset of the plurality of inverted chains that correspond to at least one keyword; sorting the subset of the plurality of inverted chains in an ascending order of the lengths of the subset of multiple inverted chains; and merging the subset of the plurality of inverted chains sequentially as the ascending order starting from one of the subset of the plurality of inverted chains that has the shortest length. |
地址 |
GUANGZHOU CN |