@squawk
    Preparing search index...

    Interface AirspaceSearchQuery

    Options for a fuzzy text search query against airspace identifiers and names.

    interface AirspaceSearchQuery {
        limit?: number;
        minScore?: number;
        text: string;
        types?: ReadonlySet<AirspaceType>;
    }
    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 feature's identifier and name.

    types?: ReadonlySet<AirspaceType>

    Optional set of airspace types to include. When omitted, all types are included.