Facet interface

A facet containing additional statistics on the response of a query. Can be either FacetResult or FacetError.

Properties

expression

Facet expression, same as in the corresponding facet request.

resultType

Polymorphic discriminator, which specifies the different types this object can be

Property Details

expression

Facet expression, same as in the corresponding facet request.

expression: string

Property Value

string

resultType

Polymorphic discriminator, which specifies the different types this object can be

resultType: "FacetResult" | "FacetError"

Property Value

"FacetResult" | "FacetError"