25 November 2009 - Lucene Java 3.0.0 available
The new version is mostly a cleanup release without any new features. All deprecations targeted to be removed in version 3.0 were removed. If you are upgrading from version 2.9.1 of Lucene, you have to fix all deprecation warnings in your code base to be able to recompile against this version.
This is the first Lucene release with Java 5 as a minimum requirement. The API was cleaned up to make use of Java 5's generics, varargs, enums, and autoboxing. New users of Lucene are advised to use this version for new developments, because it has a clean, type safe new API. Upgrading users can now remove unnecessary casts and add generics to their code, too. If you have not upgraded your installation to Java 5, please read the file JRE_VERSION_MIGRATION.txt (please note that this is not related to Lucene 3.0, it will also happen with any previous release when you upgrade your Java environment).
Lucene 3.0 has some changes regarding compressed fields: 2.9 already deprecated compressed fields; support for them was removed now. Lucene 3.0 is still able to read indexes with compressed fields, but as soon as merges occur or the index is optimized, all compressed fields are decompressed and converted to Field.Store.YES. Because of this, indexes with compressed fields can suddenly get larger.
While we generally try and maintain full backwards compatibility between major versions, Lucene 3.0 has some minor breaks, mostly related to deprecation removal, pointed out in the 'Changes in backwards compatibility policy' section of CHANGES.txt. Notable are:
IndexReader.open(Directory) now opens in read-only mode per default (this method was deprecated because of that in 2.9). The same occurs to IndexSearcher.
Already started in 2.9, core TokenStreams are now made final to enforce the decorator pattern.
If you interrupt an IndexWriter merge thread, IndexWriter now throws an unchecked ThreadInterruptedException that extends RuntimeException and clears the interrupt status.
See CHANGES for details.
http://lucene.apache.org/java/docs/
分享到:
相关推荐
The new version is mostly a cleanup release without any new features. All deprecations targeted to be removed in version 3.0 were removed.
lucene-3.0.0是lucene目前最新版本
lucene3.0.0jar包、IKAnalyzer分词器jar包及IKAnayzer中文分词器使用手册
lucene3.0.0 入门DEMO 适合新手使用 先要新建号相关的目录
lucene3.0.0的学习资料,里边有lucene的jar包,具体的入门讲解:http://blog.csdn.net/lengyuhong/archive/2010/11/17/6014597.aspx
最新的lucene api手册, 感觉看这个比一堆html方便。。。 支持开源
lucene-3.0.0-src.zip
java全文搜索lucene-3.0.0-src+lib.zip
详细介绍了如何在tomcat下集成配置lucene3.0和2.0等多个版本,是初学者的不错选择,很实用!
Lucene搜索的内容进行高亮显示。
学习Java搜索引擎,不妨看看这个,有助你的Java水平提高
lucene-core-3.0.0.jar lucene-memory-3.0.0.jar lucene-highlighter-3.0.0.jar
NULL 博文链接:https://fengyunxiao.iteye.com/blog/766472
lucene-demos-3.0.2.jar 搜索引擎
lucene需要用到的基本架包 核心包 高亮 中文分词,希望有所帮助。je-analysis1.5.3.jar lucene-highlighter-3.0.0.jar lucene-core-3.0.0.jar lucene-memory-3.0.0.jar
文件包括 :lucene-core-3.0.0.jar lucene-highlighter-3.0.0.jar lucene-memory-3.0.0.jar,mysql-connector-java-3.1.13-bin.jar,lucene-demos-1.9.1.jar lucene-core-1.9.1.jar
将它添加到您的 Maven 项目的pom.xml : < dependency> < groupId>com.snowtide</ groupId> < artifactId>lucene-pdf</ artifactId> < version>3.0.0</ version></ dependency> 或者,将上述 Maven 工件坐标添加...
目前罪行的heritrix网络爬虫工具,是学习lucene的提高选择,可以大批量的抓取网上资源!
pylucene 让Python程序员可以更好的使用Lucene