IDOL Community Component 12.13

# Batch (Page) Results

If you are running a `Query`, `Suggest`, or `SuggestOnText` action, you can use the `MaxResults` parameter with the `Start` parameter to display only `MaxResults` number of results, from the `Start` position onwards.

The `Start` value must be smaller than the `MaxResults` value because if the position it specifies does not fall within the generated range of results, no results return for the query, even though results might be available.

Example 1:

    http://IDOLhost:port/action=Query&Text=Harry Potter and the Goblet of Fire&MaxResults=6&Start=6

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

Example 2:

    http://IDOLhost:port/action=Query&Text=Harry Potter and the Goblet of Fire&MaxResults=100&Start=6

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

Example 3:

    http://IDOLhost:port/action=Query&Text=Harry Potter and the Goblet of Fire&MaxResults=5&Start=6

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

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 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 Community Component 12.13

Topic Title: Batch (Page) Results