The Search Summary settings enable you to configure the summary information shown when you use the DefaultHeader.xsl XSTL template (or a custom template designed to display the summary elements).
Use these settings to construct search-summary statements for each of the following situations:
• No results pattern: The message to show after a search that produced no results. For example: “No results for Terms”
• Precise results pattern: The message to show after a search that included a known number of results For example: “Results [First]-[Last] of [Hits] for Terms (Time seconds)”.
• Estimated results pattern: The message to show after a search that required the (usually large) number of results to be estimated. For example: “Results [First]-[Last] of about [Hits] for Terms (Time seconds)”.
When constructing the summary statements, you will usually want to combine data about the current result set with plain-language units and other information that will help the data make sense to the users (as you can see in the examples for each type of result pattern given above). To place data placeholders, use the following expressions (which must be enclosed in curly brackets, as shown):
• First: the rank of the first result shown on the current page
• Last: the rank of the last results shown on the current page
• Hits: the total number of results found by the query (possibly estimated)
• Time: the amount of time it took to execute the query.
• Terms: the list of terms submitted with the query.
You can also use the following techniques to format the text:
• To set text and/or data in bold type, enclose the relevant text in square brackets ([]). For example: “Results [First]-[Last] of about [Hits] for Terms (Time seconds)”.
• To apply other types of formatting, use standard HTML.
Need more help with this?
CONTACT US info@ontolica.com OR use our homepage