Add Facet Value Group Filter Command

Syntax

The syntax for the add facet value group filter command is:

addFacetValueGroupFilter(<facetField>, <combineMode>, <value>[, <value>]*)

There are no defaults for the addFacetValueGroupFilter command.


Function

The add facet value group filter command adds the facet value group filter, and then it calls clearAllPaging().

Example - Using the add facet value group filter command

This add facet value group filter command adds a new facet value group filter for education or literature,
and it resets paging on the SubjectTerms facet field and page number:

  s.pn=3&s.ff=SubjectTerms,and,2,15&s.cmd=addFacetValueGroupFilter(SubjectTerms,or,education,literature)

Try It