An individual search query can return a large number of results. Rather than displaying all of the results on a single page, you will typically want to break them up into multiple pages, with a certain number of items per page. Therefore the query includes properties that you can use to specify the number of items to include per page and which page to display.

To support paging, several of the query-specific form handler classes (QueryFormHandler, StructuredQueryFormHandler, BrowseFormHandler, and SimilarDocsFormHandler) subclass PagedRequestFormHandler, which is a subclass of BaseFormHandler that adds support for paging of results. The options discussed in this section apply to all of these form handlers.

 
loading table of contents...