Interface IEmailChunkStore
- Namespace
- MailFathom.Application.Emails.Chunking
- Assembly
- MailFathom.Application.dll
Takes away the passages retrieval is built from, for a message that turned out not to deserve them.
public interface IEmailChunkStore
Remarks
Removal is the one end of the cut that ordering cannot supply. Everything else about a passage is decided before it exists — IStoredEmailChunkingStore cuts a message only once classification and the owner's rules have finished with it — but a message chunked and embedded before anybody scored it is what an on-demand classification run over an existing mailbox produces, and what it leaves behind is vectors nothing may retrieve, derived from the most adversarial text in the mailbox and kept under the message's own retention obligations for no reader.
It touches neither the message, its content, nor its search document. Passages are derived data and this port says nothing about whether the mailbox should still hold what they were derived from.
Methods
- DiscardChunksAsync(IPersistenceSession, StoredEmailId, CancellationToken)
Stages the removal of every passage cut from one message.