Table of Contents

Method Create

Namespace
MailFathom.Application.Discovery.Planning
Assembly
MailFathom.Application.dll

Create(EmailKnowledgeBounds, IReadOnlyList<EmailKnowledgeQuery>, int)

Composes the plan a run retrieves by.

public static RetrievalPlan Create(EmailKnowledgeBounds retrievalBounds, IReadOnlyList<EmailKnowledgeQuery> lookups, int sufficientPassages)

Parameters

retrievalBounds EmailKnowledgeBounds

What this deployment's retrieval will return at most, which bounds what enough can mean.

lookups IReadOnlyList<EmailKnowledgeQuery>

The lookups to run, in order, at least one and at most MaximumLookups.

sufficientPassages int

The number of distinct passages the planning judged would answer the question.

Returns

RetrievalPlan

The plan.

Exceptions

ArgumentException

No lookup was given, more than MaximumLookups were, or one of them was null.

ArgumentOutOfRangeException

sufficientPassages is below one or above what retrievalBounds returns.