@yoch/frozenminisearch v1.12.1
    Preparing search index...

    Type Alias ScoredResult

    FrozenMiniSearch extension (not in MiniSearch): a search result without match information, returned by search and searchPage with matchInfo: false.

    type ScoredResult = {
        id: any;
        match?: never;
        queryTerms: string[];
        score: number;
        terms?: never;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      Stored fields are merged onto the result.

    Index
    id: any

    The document ID.

    match?: never

    Not set without match information.

    queryTerms: string[]

    Query terms that matched (e.g. "moto" for prefix "moto").

    score: number

    Score of the search result, equal to the score with match information.

    terms?: never

    Not set without match information.