Member Junction
    Preparing search index...

    Represents a single search result item

    interface SearchResultItem {
        EntityIcon?: string;
        EntityName: string;
        ID: string;
        MatchedAt: Date;
        ProviderIcon?: string;
        ProviderId?: string;
        ProviderLabel?: string;
        RawMetadata?: string;
        RecordID: string;
        RecordName?: string;
        ResultType?: string;
        Score: number;
        ScoreBreakdown: ScoreBreakdown;
        Snippet: string;
        SourceIcon: string;
        SourceType: "entity" | "content-item" | "file" | "web-page";
        Tags: string[];
        Title: string;
    }
    Index

    Properties

    EntityIcon?: string

    Entity-specific icon from EntityInfo.Icon (e.g., "fa-solid fa-robot")

    EntityName: string

    The entity name this result belongs to

    ID: string

    Unique identifier

    MatchedAt: Date

    When this result was matched

    ProviderIcon?: string

    Font Awesome icon class from the SearchProvider metadata

    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 JSON — contains all entity fields stored in the vector DB

    RecordID: string

    The primary key of the source record

    RecordName?: string

    Human-readable record name resolved from EntityRecordName

    ResultType?: string

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

    Score: number

    Relevance score between 0 and 1

    ScoreBreakdown: ScoreBreakdown

    Breakdown of how the score was computed

    Snippet: string

    Short text snippet showing match context

    SourceIcon: string

    Font Awesome icon class for the source type

    SourceType: "entity" | "content-item" | "file" | "web-page"

    Classification of the result source

    Tags: string[]

    Human-readable tags

    Title: string

    Display title