Exercise 9.3: Create new search page with Search API
PreviousExercise 9.2: Set up Job posting content type display in global searchNextExercise 9.4: Add fields to the index
Last updated
Last updated
In GovCMS we can setup and configure multiple searches, this includes setting up multiple Search Indices and configuring them individually (if required).
To use the Search API and to create a new search page, first, we have to create a search index. This index will ensure communications between the content of your website and end user.
Go to Configuration → Search and metadata → Search API and click the Add Index button.
Index name: Job Posting
Data sources: Content
Which bundles should be indexed?: Only those selected
Bundles: Job Posting
Server: Lagoon Solr
Enabled: Yes
Accept the remaining default settings and click the Save button.