Class HistogramQueryResult (0.7.12)

HistogramQueryResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Histogram result that matches HistogramQuery specified in searches.

Attributes

Name Description
histogram_query str
Requested histogram expression.
histogram MutableMapping[str, int]
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: - (for string histogram) string values stored in the field.

Classes

HistogramEntry

HistogramEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.