Home > doofinder > FacetQuery

FacetQuery interface

Set of params that are dumped from a Query.

Signature:

export interface FacetQuery 

Properties

Property Type Description
field string That is the field name that you want to aggregate results.
size string The number of results to return in each field. Only applicable to facet terms. Maximum: 50 by default to help maintaining the speed of the search function
term string The facet type. Indicates the type of the facet, one of term or range.It will return an error if the facet type is not correct.