lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: [ANNOUNCE] Apache Lucene 8.0.0 released
Date Thu, 14 Mar 2019 14:42:17 GMT
Yeaaaah! It's finally done. I am a bit sad, that the new query short circutting is not useable
from Solr at the moment.


Uwe Schindler
Achterdiek 19, D-28357 Bremen

> -----Original Message-----
> From: jim ferenczi <>
> Sent: Thursday, March 14, 2019 1:16 PM
> To:;; java-
> Subject: [ANNOUNCE] Apache Lucene 8.0.0 released
> 14 March 2019, Apache Luceneā„¢ 8.0.0 available
> The Lucene PMC is pleased to announce the release of Apache Lucene 8.0.0.
> Apache Lucene is a high-performance, full-featured text search engine
> library written entirely in Java. It is a technology suitable for nearly
> any application that requires full-text search, especially cross-platform.
> This release contains numerous bug fixes, optimizations, and improvements,
> some of which are highlighted below. The release is available for immediate
> download at:
> Lucene 8.0.0 Release Highlights:
> Query execution
> Term queries, phrase queries and boolean queries introduced new
> optimization that enables efficient skipping over non-competitive documents
> when the total hit count is not needed. Depending on the exact query and
> data distribution, queries might run between a few percents slower and
> many
> times faster, especially term queries and pure disjunctions.
> In order to support this enhancement, some API changes have been made:
>  * TopDocs.totalHits is no longer a long but an object that gives a lower
> bound of the actual hit count.
>  * IndexSearcher's search and searchAfter methods now only compute total
> hit counts accurately up to 1,000 in order to enable this optimization by
> default.
>  * Queries are now required to produce non-negative scores.
> Codecs
>  * Postings now index score impacts alongside skip data. This is how term
> queries optimize collection of top hits when hit counts are not needed.
>  * Doc values introduced jump tables, so that advancing runs in constant
> time. This is especially helpful on sparse fields.
>  * The terms index FST is now loaded off-heap for non-primary-key fields
> using MMapDirectory, reducing heap usage for such fields.
> Custom scoring
> The new FeatureField allows efficient integration of static features such
> as a pagerank into the score. Furthermore, the new
> LongPoint#newDistanceFeatureQuery and
> LatLonPoint#newDistanceFeatureQuery
> methods allow boosting by recency and geo-distance respectively. These new
> helpers are optimized for the case when total hit counts are not needed.
> For instance if the pagerank has a significant weight in your scores, then
> Lucene might be able to skip over documents that have a low pagerank
> value.
> Further details of changes are available in the change log available at:
> Please report any feedback to the mailing lists (
> Note: The Apache Software Foundation uses an extensive mirroring network
> for distributing releases. It is possible that the mirror you are using may
> not have replicated the release yet. If that is the case, please try
> another mirror. This also applies to Maven access.

View raw message