Globus SDK for JavaScript
    Preparing search index...
    GFacet: { field_name: string; name?: string } & (
        | { size?: number; type: "terms" }
        | { missing?: number; type: "sum" | "avg" }
        | {
            date_interval: DateInterval;
            histogram_range?: HistogramRange;
            type: "date_histogram";
        }
        | {
            histogram_range: HistogramRange;
            size: string;
            type: "numeric_histogram";
        }
    )