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
retrievalBoundsEmailKnowledgeBoundsWhat this deployment's retrieval will return at most, which bounds what enough can mean.
lookupsIReadOnlyList<EmailKnowledgeQuery>The lookups to run, in order, at least one and at most MaximumLookups.
sufficientPassagesintThe 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
sufficientPassagesis below one or above whatretrievalBoundsreturns.