吉林大学学报(理学版)

• 计算机科学 • 上一篇    下一篇

基于Lucene索引的数据库全文检索

岳绍敏, 李万龙, 王璐, 光顺利   

  1. 长春工业大学 计算机科学与工程学院, 长春 130012
  • 收稿日期:2013-12-09 出版日期:2014-09-26 发布日期:2014-09-26
  • 通讯作者: 李万龙 E-mail:lwl@mail.ccut.edu.cn

Database FullText Retrieval Based on Lucene Index

YUE Shaomin, LI Wanlong, WANG Lu, GUANG Shunli   

  1. College of Computer Science and Engineering, Changchun University of Technology, Changchun 130012, China
  • Received:2013-12-09 Online:2014-09-26 Published:2014-09-26
  • Contact: LI Wanlong E-mail:lwl@mail.ccut.edu.cn

摘要:

针对传统数据库检索中检索速度较慢、 检索结果不完整、 检索结果排列无序等问题, 基于全文检索工具Lucene索引的结构, 设计一种基于Lucene的数据库索引结构, 并提出记录倒排索引链表的概念, 使网站不用再按照传统顺序查找方式进行检索, 而是以索引库中的关键词进行检索, 提高了检索效率. 实验结果表明, 基于
Lucene的数据库全文检索具有查全率高、 检索结果排列有序等优点.

关键词: 倒排索引, Lucene索引, 全文检索, 索引结构

Abstract:

The traditional database retrieval has a lot of problems, such as the slower retrieval speed, the incomplete results, and disorderly retrieval results and so on. This paper designs a database index structure based on the Lucene index structure, the full text retrieval tool and puts forward the concept of record inverted index list. So Website can be retrieved by the keywords in the index library, not following the traditional sequential search way, which greatly improves the retrieval efficiency. At the same time, experimental results show that the database fulltext retrieval basedLucene has the advantages of high recall and the orderly retrieval results.

Key words: inverted index, Lucene index, fulltext retrieval, index structure

中图分类号: 

  • TP39