Advertising sustains the DA. Ads are hidden for members. Join today

Create a custom search page with facets

Last updated on
30 April 2025

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

Here is how to easily create a custom page with facets for searching and filtering content for a specific content type.

  1. Add a new view and under Show select "Apache Solr search"
  2. Fill in other settings as you like
  3. In the view add a filter 'Apache Solr: entity_type'; under setting set operator to > is equal to "node"
  4. In the view add a filter 'Apache Solr: bundle'; under setting set operator to > is equal to [machine name of content type]
  5. Add the fields you want to display
  6. Create a Panels page: add the view you just created, add the facets you want to display
  7. le voila: you have a faceted search page for a specific content type

Help improve this page

Page status: Not set

You can: