Constructor RankedSearchSequence
- Namespace
- MailFathom.Application.Emails.Search
- Assembly
- MailFathom.Application.dll
RankedSearchSequence(IReadOnlyList<RankedEmailCandidate>, IReadOnlySet<StoredEmailId>)
One published ranking, and which of its members are in it only because a picture was near the query.
public RankedSearchSequence(IReadOnlyList<RankedEmailCandidate> Candidates, IReadOnlySet<StoredEmailId> DepictedOnly)
Parameters
CandidatesIReadOnlyList<RankedEmailCandidate>The whole published ordering, best first, the depicted section last.
DepictedOnlyIReadOnlySet<StoredEmailId>The candidates a description alone put in the ordering.
Remarks
The sequence descends under BestFirst across both of its sections, which is what lets a keyset cursor walk it: the depicted tail is scored strictly between zero and the least fused score rather than carrying a distance, because a fused score descends while a distance ascends and joining the two end to end would produce a sequence monotone in neither direction.
DepictedOnly is what a result is marked from. It names the messages the fused ranking did not carry at all, so a message with both a written passage and a described picture is absent from it — the picture contributed nothing to where that message sits, and saying otherwise would report a photograph as the reason for a place a body earned.