@squawk
    Preparing search index...

    Interface AirwaySearchQuery

    Options for a fuzzy text search query against airway designations.

    interface AirwaySearchQuery {
        limit?: number;
        minScore?: number;
        text: string;
        types?: ReadonlySet<AirwayType>;
    }
    Index

    Properties

    limit?: number

    Maximum number of results to return. Defaults to 20.

    minScore?: number

    Minimum match score (exclusive) in [0, 1] a result must reach. Defaults to 0, which keeps every match. Raise it to drop weak fuzzy matches.

    text: string

    Search text, matched fuzzily and case-insensitively against each airway's designation.

    types?: ReadonlySet<AirwayType>

    Optional set of airway types to filter by. When omitted, all types are included.