IDOL Content Component 12.12

# MaxResults

The maximum number of results to return for this query from the total number of matching results.

This parameter is constrained by the MaxResults configuration parameter. For example, if you set MaxResults to `3000` in the configuration file, a query with `MaxResults` to `9000` returns only `3000` results.

Actions: | Query Suggest SuggestOnText
Type: | Long
Default: | 6
Example: | `MaxResults=12`
See Also: | Start

## Batch queries

You can use the `MaxResults` parameter with the Start parameter to display the `MaxResults` only from the Start position onwards. The Start value must be smaller than the `MaxResults` value because if the position that it specifies does not fall within the generated range of results, no results return for the query, even though results might be available.

For example:

    MaxResults=6
    Start=6

In this example, if a total of 10 results is available for the query, only the sixth result returns.

    MaxResults=100
    Start=6

In this example, if a total of 10 results is available for the query, the results 6 to 10 (inclusive) return.

    MaxResults=5
    Start=6

In this example, no results return (even if results are available).

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Content Component 12.12

Topic Title: MaxResults