@squawk
    Preparing search index...

    Interface AirspaceSearchResult

    A scored airspace result from a fuzzy AirspaceResolver.search.

    interface AirspaceSearchResult {
        feature: AirspaceFeature;
        matchedField: AirspaceSearchField;
        ranges: MatchRange[];
        score: number;
    }
    Index

    Properties

    The matched airspace feature.

    matchedField: AirspaceSearchField

    Which field produced the best match, identifying what AirspaceSearchResult.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 identifier or name match.