@squawk
    Preparing search index...

    Interface NavaidSearchResult

    A scored navaid result from a fuzzy NavaidResolver.search.

    interface NavaidSearchResult {
        matchedField: NavaidSearchField;
        navaid: Navaid;
        ranges: MatchRange[];
        score: number;
    }
    Index

    Properties

    matchedField: NavaidSearchField

    Which field produced the best match, identifying what NavaidSearchResult.ranges index into.

    navaid: Navaid

    The matched navaid record.

    ranges: MatchRange[]

    Matched character ranges within the best-matching field's text, for highlighting.

    score: number

    Match strength in [0, 1], where 1 is an exact identifier or name match.