Search
Let patrons find works by free text, get suggestions as they type, and narrow the result with filters the library system offers.
1.1.1 Search
SupportedFind works by free text, with people alongside the titles.
What you can build
A search field that returns works with their formats and availability. People come back as their own type of result, so a patron can go straight to what an author has written.
Typical flow
- The patron enters a search term.
- The client sends it to
Searchand shows the works that match.Works - People from
Searchcan be shown alongside.Agents - The patron opens a work, or narrows the result with filters (1.1.4).
What the API provides
sizeis a preferred page size. The provider may return more or fewer results.- Availability for each format comes from
Get.Holdings
Calls in the API
- Enabled in the configuration
-
GetSearchConfiguration
Calls behind the view
1.1.3 Search suggestions
SupportedSuggest works, people, subjects and searches while the patron types.
What you can build
Suggestions under the search field that take the patron straight to a work, a person or a subject, or complete the search term.
Typical flow
- The patron starts typing.
- The client calls
Getwith what has been typed so far.Suggestions - The patron picks a suggestion and goes straight to it, or completes the search.
What the API provides
- A suggestion has one of four types:
work,contributor,subjectorquery.typeslimits which ones are returned. Gettells whether the provider offers suggestions (Search Configuration disabled) and which filters they accept.
Calls in the API
- Enabled in the configuration
-
GetSearchConfiguration
1.1.4 Filter and sort search results
SupportedNarrow and order a search result by format, language, audience, subject and more.
What you can build
Filters and sorting next to the result, built from what the library system actually offers. The patron only sees choices that exist at the provider.
Typical flow
- The client reads the available filters and sort orders from
Get.Search Configuration - The patron chooses one or more values.
- The client repeats the search with
filterandsortonSearch.Works
What the API provides
- Values within one filter are combined with OR; different filters with AND. Example:
filter[plas..media Types]=book,cd&filter[plas. subjects]=dance facetreturns how many results each value gives, so the client can show the counts next to the choices.
Calls in the API
1.1.5 Search with a query language
Not yetSearch with a query language such as CQL.
1.1.6 Advanced field search
Not yetSearch in a specific field, such as title or author.