FacetResult interface

Successfully executed facet containing additional statistics on the response of a query.

Properties

count

Number of records returned in the facet response.

data

A JObject array or Table containing the desired facets. Only present if the facet is valid.

expression

Facet expression, same as in the corresponding facet request.

resultType

Polymorphic Discriminator

totalRecords

Number of total records in the facet results.

Property Details

count

Number of records returned in the facet response.

count: number

Property Value

number

data

A JObject array or Table containing the desired facets. Only present if the facet is valid.

data: any

Property Value

any

expression

Facet expression, same as in the corresponding facet request.

expression: string

Property Value

string

resultType

Polymorphic Discriminator

resultType: "FacetResult"

Property Value

"FacetResult"

totalRecords

Number of total records in the facet results.

totalRecords: number

Property Value

number