We are updating our documentation library to be ready for Sector 10! Find out more in our Sector 10 roadmap or head straight to our collection of Sector 10 - Changes and Updates.
The Search API module together with the Facets module allows sitebuilders to create and manage faceted search interfaces. Your Sector site not only benefits from a fast and configurable sitewide search - you can also add data-type-specific searches for any content type, with configuration only (no need to code).
Features and functionality
From 8.x-2.x-beta1 (October 2018), the Sector Starter Kit ships with a preconfigured sitewide search using Search API and Facets replacing the Drupal default search. The configuration includes:
- Preconfigured Search API DB server,
- Preconfigured search index for a sitewide search,
- Preconfigured search view,
- Preconfigured facet,
- Keyword search block, and
- An addition to the Page content settings allowing us to exclude single pages from the sitewide search.
Included contribution modules
Related entities and configuration
The Sector default DB search server
<your-domain>admin/config/search/search-api/server/sector_default_db_search_server
The DB server using the default Drupal DB.
Sector sitewide search index
<your-domain>/admin/config/search/search-api/index/sector_sitewide_search/
The Search API DB index for the sitewide search. The index is excluding the Promotion content type (via the content data source).
Sector sitewide search view
<your-domain>/admin/structure/views/view/sector_sitewide_search
The Search API search view using an exposed form block to provide the sitewide keyword search placed via the block management.
Search facet
<your-domain>/admin/config/search/facets/
A facet block for content types rendered as a block and placed via block management, and a facet summary block (using the Facets summary sub-module) allowing us to render the reset button and the selected terms.
Content settings
<your-domain>/admin/structure/taxonomy/manage/automated_contextual_content/overview
We added a term to allow editorial staff to exclude nodes of the content type Page from search results.
Sample content
- Term "Hide from sitewide search results" for the content settings taxonomy.
- The term is also applied to the 403 and 404 sample pages.