The Search Results widget’s default display is a paginated list. Each list item is a summarized hit to a search query. Click on a specific result to look at it in more detail. Configure display options by opening the Search Results options menu () and selecting Configuration.
- Enable Highlighting
- Highlight the search terms where they appear in the search result’s title or summary.
- Display Results in Document Form
- Display results as search documents. Never use this in production. Developers use this feature to view search responses in their indexed, document-based format. Part of a developer’s job when writing search indexers is to convert documents (the objects that get indexed) to the actual object and back again. Thus, developers can see how their objects are being indexed. Once enabled, click the Details… link below the result summary to expand the result’s document view.
- Display Selected Result in Context
- When an asset is clicked, show it in its native application. For example, if you click on a blog post in the search results, you see where the Blogs Entry is posted in the Blogs application. Note that you’re not in the search context after clicking on a search result. When this option is unchecked, the asset displays in an Asset Publisher window while still in the search context. If you have the right permissions, you can even edit the content directly from the Search context. Click the back arrow to return to the search results.
The next three configurations concern results pagination.
- Pagination Start Parameter Name
- Set the name of the URL parameter for the results page. If the default value
start is preserved, this URL displays when the User navigates to the second
results page after searching for test:
- Pagination Delta
- Set the number of results to display per results page. Defaults to 20 unless
you customized the
search.container.page.default.deltaproperty in your
- Pagination Delta Parameter Name
- Set the name of the URL parameter that stores the Pagination Delta value. This
becomes visible in the browser if the User changes the number. If the User
selects 10 results per page and searches for test, the Search Page is reloaded
with this URL:
For further reading, check out how to return suggestions for better search terms (for example, “Did you mean…”) when not enough results are returned initially.