Book Image

Learning Drupal 8

By : Nick Abbott
Book Image

Learning Drupal 8

By: Nick Abbott

Overview of this book

Drupal 8 sets a new standard for ease of use, while offering countless new ways to tailor and deploy your content to the Web. Drupal 8 allows user to easily customize data structures, listings, and pages, and take advantage of new capabilities for displaying data on mobile devices, building APIs, and adapting to multilingual needs. The book takes you step by step through building a Drupal 8 website. Start with the basics, such as setting up a local “stack” development environment and installing your first Drupal 8 site, then move on to image and media handling, and extending Drupal modules. Push your knowledge by getting to grips with the modular nature of Drupal, and learning to extend it by adding new functionalities to create your new modules. By the end of the book, you will be able to develop and manage a modern and responsive website using Drupal.
Table of Contents (21 chapters)
Learning Drupal 8
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Search and metadata


As we add more content to our demo site, it might be useful for us to add a search function for our users. Drupal 8 has a built-in search that we can configure here.

Go to the Configuration page again and look at the contents of the SEARCH AND METADATA section.

Click on Search pages and you will see the configuration for the main search of the site.

We'll work our way through these settings now.

Indexing progress

In order to allow users to search for content, Drupal will index the content in its search database. When new content is added to the site, this is not indexed immediately but is instead queued to be processed later. This shows you how many items of content have been indexed and how many are waiting.

Note that if you choose to re-index the site then you will also need to run cron again manually to update the index.

Indexing throttle

Drupal will look at the contents of the indexing queue periodically in what's referred to as a Cron task, as discussed earlier in the chapter...