Building a good search page is hard. It requires more work than just enabling a module, indexing the content and away you go. To build a good search page requires knowledge of the content and understanding what users really want when they perform a search.
Drupal comes with a core Search module and it does a pretty good job for basic websites. You can learn how to create custom search pages in Drupal 8 here.
If you’re looking for something more advanced look at Search API. Search API is great for complex data structures because you can configure what fields will be indexed. This means that setting up the modules take a bit of time. It’s not just plug-and-play.
It can be used for the following:
- Use Apache Solr as search index
- Create faceted search
- Build search pages using Views
Tutorials
- How to Create a Search Page in Drupal 8
- Presentation: Search in Drupal 8​
- ​Intro To Search API (Part 1) – How To Create Search Pages
- Intro To Search API (Part 2) – Faceted Search
- How To Create Search Pages Using Views In Drupal 7
- Add Keyword Highlighting using Search API in Drupal 7
- How to Track Site Search Queries in Drupal