# Class HistogramQuery (0.11.0)

0.11.0 (latest) 0.10.0 0.9.0 0.8.0 0.7.16 0.6.0 0.5.1 0.4.1 0.3.1 0.2.1 0.1.0

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

The histogram request.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `histogram_query` | `str` An expression specifies a histogram request against matching documents for searches. See SearchDocumentsRequest.histogram_queries for details about syntax. |
| `require_precise_result_size` | `bool` Controls if the histogram query requires the return of a precise count. Enable this flag may adversely impact performance. Defaults to true. |
| `filters` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.HistogramQueryPropertyNameFilter` Optional. Filter the result of histogram query by the property names. It only works with histogram query count('FilterableProperties'). It is an optional. It will perform histogram on all the property names for all the document schemas. Setting this field will have a better performance. |