Set Page Size Command

Syntax

The syntax for the set page size command is:

setPageSize(<pageSize>)

There are no defaults for the setPageSize command.


Function

The set page size command sets the page size, and then it calls clearAllPaging().

Example - Using the set page size command

This set page size command changes the page size to 4,
and it resets paging on the facet fields and page number:

  s.pn=5&s.ff=SubjectTerms,and,2,15&s.cmd=setPageSize(4)

Try It