Constructor AgentConversationSearchHit
- Namespace
- MailFathom.Application.Agent.Search
- Assembly
- MailFathom.Application.dll
AgentConversationSearchHit(AgentConversationId, string?, DateTimeOffset, AgentMessageId, long)
One conversation a ranking placed, and the message in it that placed it there.
public AgentConversationSearchHit(AgentConversationId Conversation, string? Title, DateTimeOffset LastActivityAt, AgentMessageId Message, long Sequence)
Parameters
ConversationAgentConversationIdThe conversation found.
TitlestringWhat the conversation is called, or null where it was never named.
LastActivityAtDateTimeOffsetWhen anything was last written into it, which is what settles a tie between two scores.
MessageAgentMessageIdThe message that matched: a question or instruction the person wrote, or the answer a block belongs to.
SequencelongThe place of the entry that matched, which is where a screen opens the conversation.
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.