首页 > 范文大全 > 正文

中文搜索引擎分块倒排索引存储模式

开篇:润墨网以专业的文秘视角,为您筛选了一篇中文搜索引擎分块倒排索引存储模式范文,如需获取更多写作素材,在线客服老师一对一协助。欢迎您的阅读与分享!

文章编号:10019081(2013)07203106

doi:10.11772/j.issn.10019081.2013.07.2031

摘 要:

针对开源搜索引擎ASPSeek中的倒排索引的内部结构和访问模式,抽象出了倒排索引的形式化定义。为解决ASPSeek倒排索引更新困难和直接采用操作系统文件缓冲访问机制带来的效率问题,以125万张中文农业网页为样本,结合其特点,提出了一种块大小可变的分块倒排索引存储模式和基于CLOCK替代策略的专用缓冲管理机制。实验结果表明在禁用和启用缓冲的情况下,分块访问模式检索效率都优于ASPSeek。在启用缓冲并使用16万中文词条或5万高频中文词条作为测试集合的条件下,分块存储模式在访问倒排索引100万次后的检索时间趋于常量,即使以全部的827309个词条作为测试集合的条件下,分块存储模式在访问倒排索引200万次后的检索时间趋于收敛。

关键词: 倒排索引;搜索引擎;全文检索;分块结构;检索效率

中图分类号:TP311文献标志码:A

英文标题

New inverted index storage scheme for Chinese search engine

英文作者名

MA Jian1, ZHANG Taihong1,2*, CHEN Yanhong1

英文地址(

1. College of Computer and Information Engineering, Xinjiang Agricultural University, Urumqi Xinjiang 830052, China;

2. College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China

英文摘要)

Abstract:

After analyzing inverted index structure and access mode of an open source search engine-ASPSeek, this paper gave an abstract definition of "inverted index". In order to solve the difficulties of inverted index updating and the efficiency issues caused by directly accessing inverted index through file caching of operating system in ASPSeek, considering the characteristics of 1.25 million Chinese agricultural Web pages, this article proposed a new blocking inverted index storage scheme with a buffer mechanism which was based on CLOCK replacement algorithm. The experimental results show that the new scheme is more efficient than ASPSeek whether the buffer system is disabled or enabled. When the buffer system got enabled and 160 thousand Chinese terms or 50 thousand highfrequency Chinese terms were used as a test set, the retrieval time of new scheme tended to be a constant after one million accesses. Even when using entire 827309 terms as a test set, the retrieval time of new scheme began to converge after two million accesses.

After analyzing inverted index structure and access mode of an open source search engine—ASPSeek, this paper gave an abstract definition of “inverted index”. In order to solve the difficulties of inverted index updating and the efficiency issues caused by directly accessing inverted index through file caching of operating system in ASPSeek, considering the characteristics of 1.25 million Chinese agricultural Web pages, this article proposed a new blocking inverted index storage scheme with a buffer mechanism which based on CLOCK replacement algorithms. The experimental results show that the new scheme is more efficient than ASPSeek whether the buffer system was disabled or enabled. In the condition of the buffer system been enabled and using 160 thousand Chinese terms or 50 thousand highfrequency Chinese terms as a test set, the retrieval time of new scheme tended to a constant after one million accesses. Even using entire 827309 terms as a test set, the retrieval time of new scheme began to converge after two million accesses.

英文关键词Key words:

inverted index; search engine; fulltext retrieval; blocking structure; retrieval efficiency