Back to top anchor
Open main menu Close main menu

Sector Guide

The Sector guide provides step-by-step guidance for your Sector Projects.

Sector Search API and Search Facets configuration

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 sidewide search, 
  • Preconfigured search view, 
  • Preconfigured facet, 
  • Keyword search block, and
  • An addition to the content settings allowing us to exclude single pages from the sidewide 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 sidewide 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 sidewide 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 the 403 and 404 sample pages. 

Open Source award winner!

Sparks Interactive are delighted to accept the Open Source Use in Business award for Sector and the Sector.nz open source platform

Find out more

Subscribe for Sector updates