Files
opencloud/services
Dominik Schmidt 48867e07f1 feat(search): add metric aggregations
sum/min/max/avg over a numeric field: bleve folds the accumulators from doc values, OpenSearch reads them from a stats aggregation, the service layer reduces them to the value of the kind after the cross-space merge. The proto gains MetricDefinition, MetricKind and Metric, which travels as accumulators (sum, count, min, max) so the merge works whatever the kind; value is set after the merge and absent for a metric without a single value. A metric is only valid on a numeric field, and only one of bucketDefinition and metricDefinition at a time. AGG-06, 18 and 21 in the parity suite.
2026-11-27 15:51:25 +01:00
..
2026-11-18 23:17:11 +00:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-06-03 16:28:44 +02:00
2026-11-17 12:45:18 +01:00
2026-11-17 23:17:37 +00:00
2026-11-17 12:45:18 +01:00
2026-11-24 23:17:30 +00:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-17 12:45:18 +01:00
2026-11-24 23:17:30 +00:00
2026-11-17 12:45:18 +01:00