This is a cache of https://www.elastic.co/search-labs/blog/apache-lucene-9.9-search-speedups. It is a snapshot of the page at 2024-11-21T00:54:41.312+0000.
Apache <strong>lucene</strong> 9.9, the fastest <strong>lucene</strong> release ever - Search Labs

Apache lucene 9.9, the fastest lucene release ever

lucene 9.9 brings major speedups to query evaluation. Here are the performance improvements observed in nightly benchmarks & optimization resources.

Apache lucene development has always been vibrant, but the last few months have seen an especially high number of optimizations to query evaluation. There isn't one optimization that can be singled out, it's rather a combination of many improvements around mechanical sympathy and improved algorithms.

What is especially interesting here is that these optimizations do not only benefit some very specific cases, they translate into actual speedups in lucene's nightly benchmarks, which aim at tracking the performance of queries that are representative of the real world. Just hover on annotations to see where a speedup (or slowdown sometimes!) is coming from. By the way, special thanks to Mike McCandless for maintaining lucene's nightly benchmarks on his own time and hardware for almost 13 years now!

Key speedup benchmarks in lucene

Here are some speedups that nightly benchmarks observed between lucene 9.6 (May 2023) and lucene 9.9 (December 2023):

lucene optimization resources

In case you are curious about these changes, here are resources that describe some of the optimizations that we applied:

lucene 9.9 was just released and is expected to be integrated into Elasticsearch 8.12, which should get released soon. Stay tuned!

Elasticsearch is packed with new features to help you build the best search solutions for your use case. Dive into our sample notebooks to learn more, start a free cloud trial, or try Elastic on your local machine now.

Ready to build state of the art search experiences?

Sufficiently advanced search isn’t achieved with the efforts of one. Elasticsearch is powered by data scientists, ML ops, engineers, and many more who are just as passionate about search as your are. Let’s connect and work together to build the magical search experience that will get you the results you want.

Try it yourself