IAggregation: {
aggregationName: string;
minCount?: number;
missing?: string;
path: string;
size: number;
} & (
| { aggregationType: "term"
| "value_count" }
| {
aggregationType: "range" | "value_count";
ranges: { from: number; key: string; to: number }[];
}
)
Public