The <query> query type has a responseNumberSettings attribute that comprises many subattributes. In the query XML, this attribute is a single long delimited String that encodes the values of all of the subattributes.

In the QueryRequest class, the corresponding responseNumberSettings property is a Map that stores these subattributes as a series of key/value pairs. This makes it possible to set the values of these subattributes individually. When the query is submitted, the values in the responseNumberSettings Map property are used to construct the String used in the query XML.

You can specify the values of all or some of the responseNumberSettings subattributes in a properties file. For example:

responseNumberSettings=\
     prop=10,\
     doc=100

You can also set these values individually in JSPs, overriding the values in the properties file. For example:

<dsp:input bean="${FH}.searchRequest.responseNumberSettings.doc"
   value="125"/>