Search API : Build your custom search
pages in Drupal 8
Arunkumar Kuppuswamy
Arunkumar Kuppuswamy
● Software Engineer @ Innoppl Technologies
● Site builder
● Backend Developer
● Community Contributor
● Module Contributor
● Speaker
Agenda
● Search in Drupal 7
● Why Search API
● What’s new in Drupal 8
● Create Search page using Core Search
● Create Search page using Views
● How to Modify Search Results
● Introduction to Search API
● Create Search page using Views(Search API)
● Creating Facets
Search in Drupal 7
Drupal 7 Basic core search
SITE_URL/SEARCH/TYPE/{SEARCH_KEYWORD}
Drupal 7 Search using Views
● Contributed module Views
● We can create custom pages for search
● Search filter added with help of Search Term
Drupal 7 Search using Views
Drupal 7 ApacheSolr
● https://www.drupal.org/project/apachesolr
● Handles the high amount of content in efficient
manner.
Drupal 7 Search API
What’s new in Drupal 8
Drupal 8 Core Search
Drupal 8 Core Search Custom page
Drupal 8 Search API
Drupal 8 View Search Custom page
Drupal 8 Facets
Important modules
● Search API
● Facet
● Custom search
● Search API Exclude
● Search Exclude (node)
● Search Exclude (nid)
● Search API attachment
References
1. https://www.webwash.net/how-to-create-a-search-page-
in-drupal-8/
2. https://dev.acquia.com/blog/drupal-8-module-of-the-
week/drupal-8-module-of-the-week-search-
api/29/03/2016/10201
3. https://medium.com/@swapnilpawar_61692/creating-a-
faceted-search-view-in-drupal-8-using-the-search-api-
modules-2b2604ad37f4
4. https://www.slideshare.net/WEBSOLUTIONSHR/using-
search-api-search-api-solr-and-facets-in-drupal-8
Queries?
D8   search api

D8 search api