Home > doofinder > RawTermsFacet

RawTermsFacet interface

RAW information received as a facet for a terms filter.

Signature:

export interface RawTermsFacet 

Properties

Property Type Description
doc_count number Number of matching documents.
label string Label for facet.
order number (BETA) How pertinent is the facet compared to the other facets in the response. If only one facet could be displayed, it should be the one with the highest order.
selected RawTermsInfo Information about the selected terms.
slots boolean (BETA) Indicates that the facet is created as a partition of a numeric range. In the front will be managed as a terms facet but will be interpreted as a range in the back.
terms RawTermsInfo The terms returned for the filter.
total { value: number; } Number of matching documents.
visible boolean