UI Notification for Expanded Search Results
When an initial search yields zero or very few results from your local Primo catalog, the system alters the query in order to return relevant records. Because this could cause confusion to users for specific queries, a notification now appears at the top of the results page to indicate that the system had altered the query using the following methods:
-
Stemming – the process of reducing inflected (or sometimes derived) words to their word stem, base, or root form.
-
OR query (some of the search words are dropped according to a predefined algorithm)
Back Office Configuration
No configuration is necessary to display the notification. You may hide the notification or update the text that displays for the notification. The following table describes the configuration associated with this capability:
Configuration | Description |
---|---|
Error messages code table in the Front End subsystem
|
The following code allows you to localize and modify the expansion notification that displays in the Front End:
default.results.note.expanded_search – Your initial search resulted in few or no results. The results below were found by expanding your search.
|
CSS
|
If you want to hide the notification, add display: none to the following line in your view’s CSS file, as follows:
.EXLSystemFeedbackExpanstionMessage{display:none;}
|