Apache Lucene 5.4.1 发布,更新如下: Bug 修复 (9) LUCENE-6918: LRUQueryCache.onDocIdSetEviction is only called when at least one DocIdSet is being evicted. (Adrien Grand) LUCENE-6946: SortField.equals now takes the missingValue parameter into account. (Adrien Grand) SOLR-7865: BlendedInfixSuggester was returning too many results (Arcadius Ahouansou via Mike McCandless) LUCENE-6929: Fix SpanNotQuery rewriting to not drop the pre/post parameters. (Tim Allison via Adrien Grand) LUCENE-6910: fix 'if ... > Integer.MAX_VALUE' check in (Binary|Numeric)DocValuesFieldUpdates.merge (https://scan.coverity.com/projects/5620 CID 119973 and CID 120081) (Christine Poerschke, Coverity Scan (via Rishabh Patel)) LUCENE-6950: Fix FieldInfos handling of UninvertingReader, e.g. do not hide the true docvalues update generation or other properties. (Ishan Chattopadhyaya via Robert Muir) LUCENE-6948: Fix ArrayIndexOutOfBoundsException in PagedBytes$Reader.fill by removing an unnecessary long-to-int cast. (Michael Lawley via Christine Poerschke) LUCENE-6970: Fixed off-by-one error in Lucene54DocValuesProducer that could potentially corrupt doc values. (Adrien Grand) LUCENE-2229: Fix Highlighter's SimpleSpanFragmenter when multiple adjacent stop words following a span can unduly make the fragment way too long. (Elmer Garduno, Lukhnos Liu via David Smiley) 详情请看:Changes.html#v5.4.1.bug_fixes 下载地址:5.4.1 Lucene 是apache软件基金会一个开放源代码的全文检索引擎工具包,是一个全文检索引擎的架构,提供了完整的查询引擎和索引引擎,部分文本分析引擎。 Lucene的目的是为软件开发人员提供一个简单易用的工具包,以方便的在目标系统中实现全文检索的功能,或者是以此为基础建立起完整的全文检索引擎。 Lucene 最初是由Doug Cutting所撰写的,是一位资深全文索引/检索专家,曾经是V-Twin搜索引擎的主要开发者,后来在Excite担任高级系统架构设计师,目前从事 于一些INTERNET底层架构的研究。他贡献出Lucene的目标是为各种中小型应用程式加入全文检索功能。 OSChina 使用 Lucene 实现全文搜索。 在线Javadoc:http://tool.oschina.net/apidocs/apidoc?api=lucene-3.6.0 Apache Lucene 5.4.1 发布,Java 搜索引擎下载地址