Table of Contents

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

Conversation AgentConversationId

The conversation found.

Title string

What the conversation is called, or null where it was never named.

LastActivityAt DateTimeOffset

When anything was last written into it, which is what settles a tie between two scores.

Message AgentMessageId

The message that matched: a question or instruction the person wrote, or the answer a block belongs to.

Sequence long

The 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.