Skip to content

Glossary: System Design Beyond the Basics in JavaScript

BM25

The standard search ranking formula: rare words count more than common ones and long texts count a little less. FTS5's bm25() returns negative scores, so lower is better.

Where the book teaches it

Related terms

FTS5Ranking