Class Facet (1.15.0)

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

A facet result.


key str
The key for this facet. E.g., "colorFamilies" or "price" or "attributes.attr1".
values MutableSequence[]
The facet values for this field.
dynamic_facet bool
Whether the facet is dynamically generated.



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

A facet value which contains value names and their count.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: