Set Facet Page Size Command

Syntax

The syntax for the set facet page size command is:

setFacetPageSize(<facetField>, <pageSize>)

There are no defaults for the setFacetPageSize command.


Function

The set facet page size command sets the page size for the given facet, and then it calls removeFacetPaging(<facetField>).

Example - Using the set facet page size command

This set facet page size command changes the SubjectTerms facet field page size to 5,
and sets SubjectTerms page number to 1:

  s.ff=SubjectTerms,and,2,15&s.cmd=setFacetPageSize(SubjectTerms,5)

Try It