Table of Contents

Method Unfiltered

Namespace
MailFathom.Application.Retrieval
Assembly
MailFathom.Application.dll

Unfiltered(IReadOnlyList<EmailKnowledgePassage>, EmailSearchRetrievalMode)

Reports a lookup that judged nothing, so everything it ranked is everything it hands over.

public static EmailKnowledgeLookup Unfiltered(IReadOnlyList<EmailKnowledgePassage> passages, EmailSearchRetrievalMode retrievalMode)

Parameters

passages IReadOnlyList<EmailKnowledgePassage>

The passages the ranking produced.

retrievalMode EmailSearchRetrievalMode

How the ranking that produced them ranked.

Returns

EmailKnowledgeLookup

The lookup.

Remarks

A factory rather than a defaulted constructor because it is what keeps the counts honest: an unfiltered lookup whose candidate count disagreed with its passage count would report a filter that does not exist as having dropped mail.

Exceptions

ArgumentNullException

Thrown when passages is null.