List Facet Values Command

Syntax

The syntax for the list facet values command is:

listFacetValues(<facetField>, <combineMode>)

There are no defaults for the listFacetValues command.


Function

The list facet values command adds the facet field, and then it calls clearAllFacetFields() setPageSize(0) setHighlighting(false) addFacetField(<facetField>, <combineMode>, 1, 100).

Example - Using the list facet values command

This list facet values command lists facet values for SubjectTerms:

  s.ff=ContentType,or,2,15&s.ff=SubjectTerms,and,1,10&s.cmd=listFacetValues(SubjectTerms,and)

Try It