Ranked retrieval quality metrics using a labelled corpus