-
Notifications
You must be signed in to change notification settings - Fork 2
Query Processing
Michał Siedlaczek edited this page Nov 11, 2018
·
5 revisions
template<class Frequency>
struct PostingScorer {
double operator()(Frequency freq);
};
template<class Document, class Frequency>
struct TermScorer {
PostingScorer<Frequency> operator()(Document doc);
};
template<class TermId, class Document, class Frequency>
struct IndexScorer {
TermScorer<Document, Frequency> operator()(TermId term);
};
template<class T>
// requires ScoredPostingList<T>
taat(span<T> postings);
template<class T, class F>
// requires UnscoredPostingList<T> && TermScoreFn<F>
taat(span<T> postings, span<F> score_fn);
template<class T>
// requires ScoredPostingList<T>
daat(span<T> postings);
template<class T, class F>
// requires UnscoredPostingList<T> && TermScoreFn<F>
daat(span<T> postings, span<F> score_fn);
template<class T>
// requires ScoredPostingList<T>
wand(span<T> postings);
template<class T, class F>
// requires UnscoredPostingList<T> && TermScoreFn<F>
wand(span<T> postings, span<F> score_fn);