Apache Lucene 3.4.0 发布了,该版本包含很多的bug修复,优化和改进,下载地址:
http://www.apache.org/dyn/closer.cgi/lucene/java
如果你正在使用 Apache Lucene 3.1, 3.2 or 3.3 ,那我们强烈建议你立即升级到该版本。
Lucene 3.4.0 主要亮点:
* 修复了一个主要的bug (LUCENE-3418) 该问题在操作系统或者计算机崩溃的时候会导致索引被破坏
* Added a new faceting module (contrib/facet) for computing facet counts (both hierarchical and non-hierarchical) at search time (LUCENE-3079).
* Added a new join module (contrib/join), enabling indexing and searching of nested (parent/child) documents using BlockJoinQuery/Collector (LUCENE-3171).
* It is now possible to index documents with term frequencies included but without positions (LUCENE-2048); previously omitTermFreqAndPositions always omitted both.
* The modular QueryParser (contrib/queryparser) can now create NumericRangeQuery.
* Added SynonymFilter, in contrib/analyzers, to apply multi-word synonyms during indexing or querying, including parsers to read the wordnet and solr synonym formats (LUCENE-3233).
* You can now control how documents that don't have a value on the sort field should sort (LUCENE-3390), using SortField.setMissingValue.
* Fixed a case where term vectors could be silently deleted from the index after addIndexes (LUCENE-3402).
引用来自“jim.z”的评论
faceting