Table of Contents

Enum EmailSearchWordMatching

Namespace
MailFathom.Application.Emails.Search
Assembly
MailFathom.Application.dll

How the words of a query decide which messages the full-text index matches.

public enum EmailSearchWordMatching

Fields

AnyWord = 1

Any word or quoted phrase of the query matches, an excluded word still excludes, and ts_rank_cd orders what matched.

EveryWord = 0

Every word of the query is required, and ts_rank orders what matched.

Remarks

Which one a search uses follows from how it ranks, and MatchedUnder(EmailSearchRetrievalMode) is where that is decided. The retrieval evaluation measured both: every word required keeps the lexical half of a fusion precise, and any word lets a ranking that stands alone reach mail a sentence-shaped query would otherwise miss.