Table of Contents

Class DatabaseSchemaTextSearchConfigurationMismatchException

Namespace
MailFathom.Application.Persistence
Assembly
MailFathom.Application.dll

Indicates that the lexical index was built with a different text search configuration than the configured one.

public sealed class DatabaseSchemaTextSearchConfigurationMismatchException : MailFathomException, ISerializable
Inheritance
DatabaseSchemaTextSearchConfigurationMismatchException
Implements
Inherited Members

Remarks

The configuration is compiled into a stored generated column when the table is created, so the lexemes in the index were produced by whichever configuration the applied migration named. A process configured for another one stems its queries one way and reads lexemes built the other, which returns fewer results rather than an error — the worst shape a search defect can take, because nothing distinguishes it from a mailbox that genuinely holds no match.

Both names are MailFathom's own configured names for PostgreSQL text search configurations, so reporting them carries no credential, host name, or personal data.

Constructors

DatabaseSchemaTextSearchConfigurationMismatchException(string, string, string)

Initializes a new text search configuration mismatch between the schema and the configuration.

Properties

ConfiguredConfiguration

Gets the text search configuration this process was configured to use.

ErrorCode

Gets the stable code identifying this failure to a boundary that must report it without naming a type.

SchemaConfiguration

Gets the text search configuration the lexical index was built with.