NDCG measures ranking quality with more weight on top positions. It’s a standard offline metric for search quality.
NDCG evaluates how well a ranked list orders items by relevance grades (e.g., 0–3), discounting gains by rank so higher spots matter more, then normalizing by the ideal ordering.
NDCG is the go-to relevance metric: grade items, discount by rank, normalize, and compare.
See these concepts in action: semantic, typo-tolerant search for Shopify stores — implemented by Rapid Search