Search

This portlet is used for all searches. It usually appears within the page header. As this portlet is one of Arena’s primary features, it is usually available on all pages.

There is a functionality to add a search filter to the portlet. This filter is a search string that is added to any search made in the search box. The string is set in the configuration and is not seen by the end user. For example, a Search portlet configured with a filter for the target group children can be placed on a children’s page, where the user can search for children’s titles.

The search text may optionally include qualifiers, for example, author:robinson or title:buddenbrooks.

User interface

The portlet presents the following content:

Component Description
Input text field Type the text to be searched for including qualifiers, if required. While typing suggestions from the index can be presented and the user can choose one of these or just continue typing. The list is updated as the typing is done.
Search type list Choose in drop-down whether to search the catalogue or articles. Default: Catalogue
Search button Click to start the defined search.
Advanced search Click to restrict the search with filters before starting the search (leads to the page /extended-search).

Configuration

Setting Description Comment
Advanced search page url The page for the advanced search portlet. Default: extended-search
Number of characters before search suggestion is displayed Number of characters to type before a search suggestion is displayed. Default: 5
Field order for article search suggestions Select in which order to show the fields in the suggestions shown to the user while typing an article search (Title, Subject).  
Field order for catalogue search suggestions Select in which order to show the fields in the suggestions shown to the user while typing a title in a catalogue search (Author, Title, Subject, Genre).  
Number of suggestions per field Number of suggestions to show per selected field (Author, Title, Subject, Genre). Default: 5
Order of targets for search Define the order in which to present the search databases in the dropdown list . Default: Records, Articles
URL to article search results The page where to show the search for Arena articles. Default: articles
URL to catalogue search results The page where to show the search for catalogue records. Default: search
Search filter for articles Type a search string to limit search to a part of the article database. Leaving the field empty enables unlimited search.
Search filter for catalogue records Type a search string to limit search to a part of the catalogue. Leaving the field empty enables unlimited search. Tip: Copy the search string from the Advanced search portlet.
Show Help link  

Default: false

Show "Advanced search" link Shows the Advanced search link to make an advanced search possible.

Default: true

Fields in suggestions for articles Select which fields to show in the suggestions shown to the user while typing an article search (Title, Subject).  
Fields in suggestions for catalogue searches Select which fields to show in the suggestions shown to the user while typing a title in a catalogue search (Author, Contributor, Title, Subject, Genre).  
Autocomplete search suggestions Shows suggestions while the user types in the search field

Default: true

Show search target options Define which search options, databases, to show in the dropdown list (Records, Articles).  
Delay of update of search suggestions (ms) How often the automatic search suggestions will be updated, while typing Default: 400
Interpret all input as free text Checking this box makes it possible to search also for titles that include a colon. Note: when this box is checked, there are limitations when using search queries that contain a colon, for example searching for title:ocean will not work

Default: false

See also: Advanced search and Search parameters for catalogue records