Add Facet Value Filters Command

Syntax

The add facet value filters command uses the following syntax:

addFacetValueFilters(<facetField>, <value>[: <negated>][, <value>[: <negated>]]*)

The default value for negated is false, if unspecified.

Function

The add facet value filters command adds the facet value filters and then calls clearAllPaging().

Example – Using the add facet value filters command

This add facet value filters command adds a new facet value filter ContentType Book, and it resets paging on the ContentType facet field and page number:

s.pn=3&s.ff=ContentType,or,2,15&s.cmd=addFacetValueFilters(ContentType,Book:false)