Paginating search results in a published IETP
This topic describes how to (1) specify the maximum number of search results and (2) paginate (segment) search results in a published IETP.
As an administrator, you can configure Contenta S1000D Publish to automatically pass search pagination parameters to LiveContent. These properties are passed from the S1000D Publish configuration file (PublishConfiguration.xml or similar file) to the LiveContent configuration file (wietmsd.xml), which overrides LiveContent’s existing configuration file for the current collection.
The four properties below are included in the delivered PublishConfiguration.xml and PublishConfiguration_Unix.xml files.
| Contenta S1000D property | Function |
|---|---|
| LiveContent_MaxSearchResultsFullText | Specifies the maximum number of matches for full-text searches. The value of this property must be set to 1 or greater, and must be greater than or equal to the LiveContent_MaxSearchResultsCategorical value. The default is 1000. The LiveContent_MaxSearchResultsFullText property must be set if the LiveContent_MaxSearchResultsCategorical property is set. Modify this property if you want LiveContent to display a different number of full text search results, or remove this property if you want LiveContent to display all full text search results |
| LiveContent_MaxSearchResultsCategorical | Specifies the maximum number of matches for categorical searches. The value of this property must be set to 1 or greater, and must be less than or equal to the LiveContent_MaxSearchResultsFullText value. The default is 1000. Modify this property if you want LiveContent to display a different number of categorical search results, or remove this property if you want LiveContent to display all categorical search results |
| LiveContent_PartitionSearchResults | Enables search pagination when set to yes. If this property is set to no, the value of the LiveContent_SearchResultsPartitionSize property is ignored. |
| LiveContent_SearchResultsPartitionSize | Specifies a partition size for the search results subset. Set its value to the maximum number of search results subsets that you want displayed within the viewer. The value of this property must be set to 1 or greater. The default is 10. Modify this property if you want LiveContent to display a different number of search results per page, or remove this property if you are not partitioning search results. |