Overview

This is a memo on how to prevent unpublished content from being indexed by Drupal’s Search API.

References

This was also documented in the following article.

https://www.acquia.com/jp/blog/introduction-to-search-api-1

Method

It was necessary to enable “Entity status” at the following location:

/admin/config/search/search-api/index/xxx/processors

Summary

We hope this serves as a useful reference.