Class HistogramQuery (0.6.0)

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

The histogram request.

Attributes

NameDescription
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 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.