std/retrieval¶
module retrieval
Retrieval: a corpus ranked against a query. A score is evidence for the proposition that a value is relevant to a query, never relevance itself, so every hit carries the retrieval that produced it: the index, model and metric, held as an open tree.
Hit— One ranked value: thevalue, itsscoreagainstquery, and theretrievalthat produced it, a tree holdingindex,model,revision,metric,approximateandquery.Ranking— The hits of one retrieval, as aSeq<Hit<T>>in descending order of score, ties ordered by name, with thequerythey are relative to and theretrievalthat produced them.