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.

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.