Apache Lucene 5.4.0 发布,Java 搜索引擎

    xiaoxiao2023-06-26  170

    Apache Lucene™ 5.4.0 发布,此版本包括大量的 bug 修复,优化和改进,现已提供下载:

    http://lucene.apache.org/core/mirrors-core-latest-redir.html

    更新说明:https://lucene.apache.org/core/5_4_0/changes/Changes.html

    Lucene 5.4.0 值得关注的改进:

    API 改进

    Query.getBoost and Query.setBoost are deprecated in favour of thenew BoostQueryThe Filter class is deprecated in favour of FILTER clauses in aBooleanQueryDefaultSimilarity has been renamed to ClassicSimilarity toprepare for the move to BM25 in Lucene 6

    新特性

    New Serbian token filterNew DecimalDigitFilter, to fold unicode digits to latin digitsNew UnicodeWhitespaceTokenizer, that uses Unicode's whitespacedefinition and splits on NBSPNew GeoPointDistanceRangeQuery to search for geo-points withina ringQuery caching is now enabled by default in IndexSearcher, useIndexSearcher.setQueryCache(null) to disable

    优化

    MatchAllDocsQuery got fasterDoc values now use less memory for multi-valued fields andless disk in case of sparse fieldsTwo-phase iterators got a match cost API so that the costlybits can be checked last

    Bug 修复

    PatternTokenizer no longer hangs onto heap sized to the maximum inputstring it's ever seen.

    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

    文章转载自 开源中国社区[https://www.oschina.net]

    相关资源:elasticsearch-5.4.0.rar
    最新回复(0)