Class AgentConversationSearchHit
- Namespace
- MailFathom.Application.Agent.Search
- Assembly
- MailFathom.Application.dll
One conversation a ranking placed, and the message in it that placed it there.
public sealed record AgentConversationSearchHit : IEquatable<AgentConversationSearchHit>
- Inheritance
-
AgentConversationSearchHit
- Implements
- Inherited Members
Remarks
A ranking reads a conversation once, at its best-matching entry, so a conversation that says the same thing twenty times is still one result. The title travels with the hit rather than being read afterwards, because the history a person searches is theirs alone and a ranking already joins the row it comes from.
Constructors
- AgentConversationSearchHit(AgentConversationId, string?, DateTimeOffset, AgentMessageId, long)
One conversation a ranking placed, and the message in it that placed it there.
Properties
- Conversation
The conversation found.
- LastActivityAt
When anything was last written into it, which is what settles a tie between two scores.
- Message
The message that matched: a question or instruction the person wrote, or the answer a block belongs to.
- Sequence
The place of the entry that matched, which is where a screen opens the conversation.