mlx-bun library API
    Preparing search index...
    interface ArticleSearchSummary {
        article: string;
        matched_terms?: string[];
        occurrences: number;
        title_matches?: number;
    }
    Index

    article

    article: string
    matched_terms?: string[]

    Distinct query terms that matched this article (multi-term queries).

    occurrences: number
    title_matches?: number

    Number of query terms that appear in the article's title/stem.