Remove Facet Field Command

Syntax

The syntax for the remove facet field command is:

removeFacetField(<facetField>)

There are no defaults for the removeFacetField command.


Function

The remove facet field command removes the indicated facet field, and then it calls clearAllFacetPaging().

Example - Using the remove facet field command

This remove facet field command removes the facet field for SubjectTerms and it resets paging on the ContentType facet field:

  s.ff=ContentType,or,2,15&s.ff=SubjectTerms,and&s.cmd=removeFacetField(SubjectTerms)

Try It