This is the model behind the facet value data for the searchpane widget. This search pane is typically used when integrating an external content source via a pluggable toolbar plugin. This external source can define facets with facet values, for example: the facet "brand" and facet value: "apple", "samsung" with the corresponding counts.

], function(FacetValue) {
  var facetValue = new FacetValue();
  // ...


count Integer

The number of documents found which have this value.

id String

Unique id of the facet value.

name String

The readable name of the facet value.

selected Boolean

Indicates if this FacetValue is selected by the user.