Table of Contents

Class RankedSearchSequence

Namespace
MailFathom.Application.Emails.Search
Assembly
MailFathom.Application.dll

One published ranking, and which of its members are in it only because a picture was near the query.

public sealed record RankedSearchSequence : IEquatable<RankedSearchSequence>
Inheritance
RankedSearchSequence
Implements
Inherited Members

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.

Constructors

RankedSearchSequence(IReadOnlyList<RankedEmailCandidate>, IReadOnlySet<StoredEmailId>)

One published ranking, and which of its members are in it only because a picture was near the query.

Properties

Candidates

The whole published ordering, best first, the depicted section last.

DepictedOnly

The candidates a description alone put in the ordering.

Empty

The ordering of a search that placed nothing.

Methods

Written(IReadOnlyList<RankedEmailCandidate>)

Wraps an ordering no depicted match took part in, which is every lexical-only ranking.