Lucene 发布 3.0.2 和 2.9.3 版本
Lucene 2.9.3 是 2.x 分支的一个bug修复版本,Lucene 3.0.2 跟 2.9.3 一样修复了同一些bug,基于 Java 5。下载地址:http://www.apache.org/dist/lucene/java/
新项目建议使用 Lucene 3.0.2 版本,因为它的 API 更加整洁而且类型安全,但有可能与你以前的项目有些不一致,新项目推荐使用,旧项目建议升级到2.9.3。
原文:http://lucene.apache.org/#18+June+2010+-+Lucene+Java+3.0.2+and+2.9.3+available
Both releases fix bugs in the previous versions:(这两个版本修正以前的版本错误)
[*] 2.9.3 is a bugfix release for the Lucene Java 2.x series, based on Java 1.4.
(2.9.3是对Lucene的Java的2.x系列,基于Java 1.4)
[*] 3.0.2 has the same bug fix level but is for the Lucene Java 3.x series, based on Java 5.
(3.0.2是对Lucene的Java的 3.x系列,基于Java 5)
New users of Lucene are advised to use version 3.0.2 for new developments, because it has a clean, type-safe API.(Lucene的新用户应使用3.0.2版本,因为它有一个干净的,类型安全的API)
Important improvements in these releases include:
[*]Fixed memory leaks in IndexWriter when large documents are indexed.It also uses now shared memory pools for term vectors and stored fields.IndexWriter now releases Fieldables andReaders on close.(修复当IndexWriter大文件时引发内存泄漏,现在共享内存池用来取词向量和存储字段。 IndexWriter现在发布,Fieldables andReaders on close)
[*]NativeFSLockFactory fixes and improvements. Release write lockif exception occurs in IndexWriter ctors(NativeFSLockFactory 修复并改进,如果在写索引发生异常将释放写锁).
[*]FieldCacheImpl.getStringIndex() no longer throws an exception when term count exceeds doc count(FieldCacheImpl.getStringIndex()在统计term总数时不再抛出异常).
[*]Improve concurrency of IndexReader, especially in the context of near real-time readers(提高了IndexReader的并发能力,尤其是在实时读内容时).
[*]Near real-time readers, opened while addIndexes* is running, no longer miss some segments(当实时读与添加索引在运行时,不再丢失段).
[*]Performance improvements in ParallelMultiSearcher (3.0.2 only)(3.0.2版本改进并行多搜索器性能).
[*]IndexSearcher no longer throws NegativeArraySizeException if you passInteger.MAX_VALUE as nDocs to search methods(当你使用Integer.MAX_VALUE作为搜索文档数时不再抛出NegativeArraySizeException).
Both releases are fully compatible with the corresponding previous versions. We strongly recommend upgrading to 2.9.3 if you are using 2.9.x; and to 3.0.2 if you are using 3.0.x(这两个版本是完全兼容相应的早期版本。我们强烈建议升级到2.9.3如果您使用的是2.9.x,并以3.0.2如果您使用的是3.0.x的).
页:
[1]