Member Junction
    Preparing search index...

    A single search result with provenance and scoring information.

    interface SearchResultItem {
        EntityIcon?: string;
        EntityName: string;
        ID: string;
        MatchedAt: Date;
        ProviderIcon?: string;
        ProviderId?: string;
        ProviderLabel?: string;
        RawMetadata?: string;
        RecordID: string;
        RecordName?: string;
        ResultType: SearchResultType;
        Score: number;
        ScoreBreakdown: SearchScoreBreakdown;
        Snippet: string;
        SourceType: string;
        Tags: string[];
        Title: string;
    }
    Index

    Properties

    EntityIcon?: string

    Font Awesome icon class for the entity

    EntityName: string

    The entity this result came from

    ID: string

    Primary key of the source record (same as RecordID)

    MatchedAt: Date

    When this result was matched

    ProviderIcon?: string

    Font Awesome icon class from the SearchProvider metadata (e.g., "fa-solid fa-brain")

    ProviderId?: string

    ID of the SearchProvider metadata record that produced this result

    ProviderLabel?: string

    Display label from the SearchProvider metadata (e.g., "Database", "Semantic Search")

    RawMetadata?: string

    Raw vector metadata as JSON string (contains all entity fields stored in vector DB)

    RecordID: string

    The source record ID

    RecordName?: string

    Resolved display name for the record

    ResultType: SearchResultType

    Discriminator for UI rendering: entity-record, storage-file, or content-item

    Score: number

    Fused relevance score (higher is more relevant)

    ScoreBreakdown: SearchScoreBreakdown

    Per-source score breakdown

    Snippet: string

    Text snippet showing the relevant content

    SourceType: string

    How the content was sourced: 'vector', 'fulltext', 'entity', or 'fused'

    Tags: string[]

    Tags associated with this result

    Title: string

    Display title for the result