Set Holdings Only Command

Syntax

The syntax for the set holdings only command is:

setHoldingsOnly(<boolean>)

There are no defaults for the setHoldingsOnly command.


Function

The set holdings only command enables or disables holdings only mode, and then it calls clearAllPaging().

Example - Using the set holdings only command

This set holdings only command enables holdings only,
and it resets paging on the ContentType facet field and page number:

  s.pn=3&s.ff=ContentType,or,2,15&s.q=art+history&s.cmd=setHoldingsOnly(true)

Try It