@squawk
    Preparing search index...

    Interface AirwaySearchResult

    A scored airway result from a fuzzy AirwayResolver.search.

    interface AirwaySearchResult {
        airway: Airway;
        matchedField: "designation";
        ranges: MatchRange[];
        score: number;
    }
    Index

    Properties

    airway: Airway

    The matched airway record.

    matchedField: "designation"

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

    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 designation match.