Faster retrieval of top N documents in Apache Solr 8.6 - Tomás Fernández Löbbe
Channel: The ASF
Date: 2021-10-12

Thank you to all of of our ApacheCon@Home 2021 sponsors, including:

STRATEGIC
---------------
Google

PLATINUM
--------------
Apple
Huawei
Instaclustr
Tencent Cloud

GOLD
-----------
Aiven OY
AWS
Baidu
Cerner
Didi Chuxing
Dremio
Fiter
Gradle
Red Hat
Replicated 

A presentation from ApacheCon@Home 2021
https://apachecon.com/acah2021

Lucene has supported skipping over non-competitive documents using the BlockMax-WAND algorithm since Lucene version 8.0.

Starting with version 8.6, Solr can also take advantage of block-max indexing. Block-max WAND stores the maximum impact score for each block of documents matching a term in the index, enabling skipping large blocks of documents at search time and potentially leading to considerable performance gains.

This talk covers the high level APIs in Solr as well as the lower level aspects of how Lucene Implements the BlockMax-WAND algorithm and its drawbacks.