percentage property

int? percentage
getter/setter pair

Percent of results that match the bucket value.

The returned value is between (0-100], and is rounded down to an integer if fractional. If the value is not explicitly returned, it represents a percentage value that rounds to 0. Percentages are returned for all searches, but are an estimate. Because percentages are always returned, you should render percentages instead of counts.

Implementation

core.int? percentage;