Preparing search index...

    Suggestion text split around the first case-insensitive match of the query

    type HighlightParts = {
        before: string;
        match: string;
        after: string;
    }
    Index
    before: string
    match: string
    after: string