Skip to content

Glossary: System Design Beyond the Basics in C++

Term frequency

Also written: tf

How often the query's words appear in a document's text. It is the simplest relevance score and one input to BM25.

Where the book teaches it

Related terms

RankingBM25IDF (inverse document frequency)