
Lucene
huiyi789
这个作者很懒,什么都没留下…
展开
-
Lucene 3.5 代码片段
创建index /**<p>描述:使用最新版Lucene3.5.0的代码示例。</p><p>功能:搜索指定文件夹下的html文件,创建索引。</p> * V Lucene 3.5 * 创建索引 */ public static void createIndex(){ File indexDir = new File(LU...原创 2011-12-26 15:14:51 · 105 阅读 · 0 评论 -
lucene Field部分参数设置含义
/** * Field.Store.COMPRESS:压缩保存,用于长文本或二进制数据 * Field.Store.YES:保存 * Field.Store.NO:不保存 * * Field.Index.NO:不建立索引 * Field.Index.TOKENI...原创 2011-12-26 15:47:47 · 127 阅读 · 0 评论