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.
Glossary: System Design Beyond the Basics in JavaScript
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.