FacetResult
¶
Source code in docs_src/capo_kendra/types/facet_result.py
document_attribute_key
instance-attribute
¶
document_attribute_key: NotRequired[DocumentAttributeKey]
The key for the facet values. This is the same as the DocumentAttributeKey provided in the query.
document_attribute_value_count_pairs
instance-attribute
¶
document_attribute_value_count_pairs: NotRequired[DocumentAttributeValueCountPairList]
An array of key/value pairs, where the key is the value of the attribute and the count is the number of documents that share the key value.
document_attribute_value_type
instance-attribute
¶
document_attribute_value_type: NotRequired[DocumentAttributeValueType]
The data type of the facet value. This is the same as the type defined for the index field when it was created.