Table of Contents

Enum AttachmentTextKind

Namespace
MailFathom.Application.Emails.AttachmentText
Assembly
MailFathom.Application.dll

Names where an attachment's words came from: the file itself, or a machine's account of a picture.

public enum AttachmentTextKind

Fields

Document = 0

The words are the file's own, read out of it by a parser or transcribed by a model from a picture of a page.

ImageDescription = 1

The words are a model's description of what a picture shows, which nobody wrote.

Remarks

The distinction is not a detail of provenance, it is what decides where the words are indexed. ADR 0030 rules that a description reaches the vector index and nothing else, so a ImageDescription row is embedded and never written into the lexical index, while a Document row joins both. Searching for a word by the letters it is written in should never return a file in which nobody wrote it and a model guessed it. A picture of a document is the other case: its words were written by somebody and the model only read them out, so a transcription is a Document row and is searched as one.