The Open API specification for Synapse is now available for download!

Download Open API Spec

RangeAggregation

org.sagebionetworks.repo.model.search.dsl.RangeAggregation

A range bucket aggregation — one bucket per caller-defined numeric range.

Field Type Description
keyed BOOLEAN Optional. Whether to return buckets as a keyed object rather than an array.
field STRING Required. The numeric column to bucket.
ranges ARRAY<AggregationRange> Required. The bucket ranges.
missing OBJECT Optional. Value assigned to documents missing field.
format STRING Optional. Format applied to the bucket key in the response.