Class SemanticEmailRankings
- Namespace
- MailFathom.Application.Emails.Search
- Assembly
- MailFathom.Application.dll
The two orderings one semantic ranking produces, separated by who the words behind a match belong to.
public sealed record SemanticEmailRankings : IEquatable<SemanticEmailRankings>
- Inheritance
-
SemanticEmailRankings
- Implements
- Inherited Members
Remarks
One eligible set, two rankings, because ADR 0030 expresses the floor as a partition of the result rather than as a weight inside it. Only Written enters reciprocal rank fusion, so nothing about fusion changes and no constant is introduced; Depicted is reduced to what the fused result does not already carry and appended after it whole.
A message appears in Written at the place its nearest written passage earned it rather than its nearest passage of any kind. Ordering by the nearest passage overall and labelling the result afterwards would let a description decide where a message sits while the result claimed a body placed it — the floor would appear to hold in the labels and fail in the order.
A message may appear in both, and that is not a duplicate to remove here: it means the message has a written passage and a described picture that are each near the query, and the partition keeps it once, at the place the written one earned.
Constructors
- SemanticEmailRankings(IReadOnlyList<RankedEmailCandidate>, IReadOnlyList<RankedEmailCandidate>)
The two orderings one semantic ranking produces, separated by who the words behind a match belong to.
Properties
- Depicted
Messages ordered by their nearest passage of a model's description of a picture.
- Empty
The rankings of a query nothing was near, which is what an instance with no embedded mail produces.
- Written
Messages ordered by their nearest passage of something a person wrote — message text, or a document attachment's own words.