← Mathematical compendium

Published equation contexts

∣D∣|D|

Why this formula appears here

where f(qiq_i, D) is the frequency of query term qiq_i in D , |D| is the document’s length, avgdl\mathrm{avgdl} is the average document length in the collection, and k1k_1 and b are tuned constants controlling term-frequency saturation and length normalization respectively. The saturation term is the substantive advance over a raw term-frequency-times-IDF score: a term’s contribution grows quickly at first and then flattens, so a document that happens to repeat a query word fifty times does not dominate one that uses it three times in the right place. Decades later, this same function remains the default first-stage ranking method built into widely used open-source search engines, which is a strong…

Read the full article-specific guide →

Read the representative guide

DD

Symbol D

D is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.

Read this term in its guide →

How to interpret it

Read this expression with the definitions, units, and assumptions supplied by the article.

Research cited beside this formula

Published contexts (1)

A symbol can carry a different meaning in another article. Each occurrence keeps its own guide and term definitions.

∣D∣|D|

Equation 12 · AI Agents & Systems

From BM25 to Agentic Retrieval: A History of Retrieval-Augmented Generation

This mathematical expression combines the displayed quantities; its precise role follows from the surrounding article text.

where f(qiq_i, D) is the frequency of query term qiq_i in D , |D| is the document’s length, avgdl\mathrm{avgdl} is the average document length in the collection, and k1k_1 and b are tuned constants controlling term-frequency saturation and length normalization respectively. The saturation term is the substantive advance over a raw term-frequency-times-IDF score: a term’s contribution grows quickly at first and then flattens, so a document that happens to repeat a query word fifty times does not dominate one that uses it three times in the right place. Decades later, this same function remains the default first-stage ranking method built into widely used open-source search engines, which is a strong…

Equation guide → · Article →