Drupal 7 Taxonomies and the Faceted Search API

Experience level: 
Intermediate
Session Track: 

Site Building

Learn how to leverage the flexibility of Drupal to deliver experiences in nearly limitless ways. See how you are able to do this—often without code and relying on the ever-expanding universe of contributed modules.

HealthyPeople.gov allows users to create customizable searches to find data, evidence-based resources and interventions, and community best practices for improving health at the local, state, and national levels. Each of these tools uses Drupal 7 taxonomies and the faceted search API to ensure the consistent usage of terms across the site, as well as to allow content managers to quickly update a term site-wide.

The Evidence-Based Resources (EBR) database includes more than 450 EBRs. During the 2014 refresh of the HealthyPeople.gov website in Drupal, a faceted EBR search tool was updated to improve our users’ ability to find relevant resources by various facets, including Healthy People 2020 (HP2020) topic area, strength of evidence, publication date, population characteristics, among other categories. In order to accommodate this search tool, each EBR content type has 12 related taxonomies and links to relevant HP2020 topic area(s) and objective(s). These taxonomies are then fed into the facet API module to allow for faceted search to be displayed on the EBR search page. The combination of these tools allows users to drill down to find resources. During this session, presenters will discuss:

  • Creating and organizing taxonomies
  • Adding taxonomies to content types
  • Integrating taxonomies into the Faceted Search API
  • Supporting taxonomies in content submission and moderation