Exclude nodes from indexing by Search API with the hook hook_search_api_query_alter().
Use case
If you want to exclude nodes from Search API results.
How to install
- Install and configure Search API
- Install Search API exclude (this module)
- Each node type have settings for enable them to have option to not be indexed (admin/structure/types/manage/[node type]) - field tab - Search api exclude.
- When the node type is enabled to could be excluded, edit a node and choose to exclude it.
- When you search (using search api), the node should not be in the results.
Alternative
Supporting organizations:
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Administration tools, Site search
11,714 sites report using this module
- Created by misc on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.


