2015年11月27日

A SPI class of type org.apache.lucene.codecs.PostingsFormat with name 'Lucene40' does not exist.

摘要: 简单的建立索引和查询索引并不难,关键在于他的二次开发,让他适合你自己的需求既然要二次开发就必须查看源码首先看看索引过程中的核心类吧:IndexWriter 这个是核心组件, 建立和打开索引,以及向文档中添加、删除或更新被索引文档的信息。Directory 描述了Lucene索引的存放位置,他是一个... 阅读全文

posted @ 2015-11-27 10:55 1130136248 阅读(919) 评论(0) 推荐(0) 编辑

导航