Part of the Search ecosystem · 127 projects
This module provides a flexible framework for creating searches on any Drupal entity. It supports features like faceting and displays results using the Views module, and can be integrated with powerful search engines like Apache Solr.
What does it do?
This module provides a framework for easily creating searches on any entity known to Drupal, using any kind of search engine. For site administrators, it is a great alternative to other search solutions, since it already incorporates facetting support and the ability to use the Views module for displaying search results, filters, etc. Also, with the Apache Solr integration, a high-performance search engine is available for this module.
Developers, on the other hand, will be impressed by the large flexibility and numerous ways of extension the module provides. Hence, the growing number of additional contrib modules, providing additional functionality or helping users customize some aspects of the search process.
Examples & Demo
The prime example of a site using this module is drupal.org itself – the Search API, along with the database backend and Views, is used to generate the issue queue listings.
Note on security
In general, the Search API doesn't provide any kind of access restrictions (as this cannot be done on a generic level). It is therefore your responsibility to take care that only accessible items are indexed or results displayed (e.g., by using appropriate filters).
There is, however, built-in support for node access checks via the Node access data alteration (q.v. for details). Also, the Search views module contains an option to do additional access checks on all entities in search views.
Additional modules
At the moment, this project contains, apart from the core API module, the following extension module (in the version for Drupal 8+):
Database search
This module provides a ready-to-use search backend that indexes and searches content using Drupal's own database. It is mainly meant for testing purposes and for smaller sites, larger sites will usually want to use a more powerful backend (like Solr or Elasticsearch). Also provided is the "Database Search Defaults" module which provides a complete pre-configured content search when installed.
Tutorials and screencasts
The Getting started documentation page and the external material available (screencasts, etc.) might provide a good introduction to the module.
Other available backends and extensions
Please see the list of Search API Ecosystem modules and curated list of Extension modules. If you maintain or encounter a great Search API module, feel free to add it.
Requirements
To use the Views integration, you'll (of course) also need the Views module. For facets, you'll need the Facets module.
Furthermore, you'll need to enable at least one module that provides a search backend.
Information for developers
Extensive documentation for other developers, who might want to extend the framework's capabilities themselves, is available. It is partly included in the module itself (in search_api.api.php, in README.txt and directly in the relevant classes and interfaces) and partly in the online documentation (linked in the sidebar).
If you are trying to implement some extension and are stuck, please don't hesitate to ask in the module's issue queue. Please also add your module to the list of extension modules once it's finished, if it is generally useful.
All developers working in the Search API ecosystem are advised to keep an eye on #1188562: [meta] Important project announcements and the module's change records for important updates. (Could also contain useful information for site builders.)
Also, you can find us in the #search channel on Slack.
Sponsors
If you are interested in sponsoring a particular feature or new related module, please contact drunken_monkey. He is also available for consulting and custom development.
Ask your assistant about Search API
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
98 tracked projects depend on this one
- Search API Solr 64,879 sites
- Search API Autocomplete 39,695 sites
- Search API attachments 18,190 sites
- Search API exclude 16,598 sites
- Search API Exclude Entity 14,666 sites
- SearchStax Studio – Site Search 10,062 sites
- Search API Pages 9,040 sites
- Search API Spellcheck 5,344 sites
- Search API sorts 4,956 sites
- Search API OpenSearch 2,993 sites
- JSON:API Search API 2,759 sites
- Opigno Search 2,670 sites
- Search API Algolia 2,542 sites
- Search API AZ Glossary 2,192 sites
- Search API HTML Element Filter 2,066 sites
- Acquia Drupal Starter Kit Search 1,565 sites
- Search API block 1,451 sites
- Search API Stats 1,322 sites
- Layout Builder Search API 1,132 sites
- Islandora 865 sites
- Search API Best Bets 860 sites
- Search API Sort Priority 850 sites
- Domain Access Search API 756 sites
- LocalGov Events 735 sites
- LocalGov Directories 726 sites
- LocalGov News 673 sites
- Flag Search API 654 sites
- LocalGov Search 580 sites
- Search Overrides 530 sites
- Elasticsearch Connector Autocomplete 457 sites
- Facet Range List Item 446 sites
- Search API Typesense 410 sites
- Search API Field Map 377 sites
- Elasticsearch - Search API 368 sites
- Search API Fast 363 sites
- Search API Saved Searches 361 sites
- Search API Meilisearch 276 sites
- Vragen.ai - Search API 264 sites
- LocalGov Open Referral 226 sites
- Opigno LMS (Community version) 226 sites
- Search API ElasticSearch Client 170 sites
- GraphQL Search API Query Extension 126 sites
- Facet granular date 107 sites
- Search API Tracking 100 sites
- LocalGov Blogs 93 sites
- Search API Lunr 93 sites
- Search API Trim Whitespace 87 sites
- SOLR Search Synonym 85 sites
- Search Api Daterange Filter 82 sites
- Search API Rabbit Hole 69 sites
- Search API Date Boost 62 sites
- Search API Elasticsearch Synonym 54 sites
- Search API Content Type Machine Name 49 sites
- Quick Search Index Clone 47 sites
- Search API Solr Boost by Date 44 sites
- Search API Recombee 43 sites
- Search API SQLite 41 sites
- Pantheon Content Publisher 38 sites
- Search API Content Moderation 29 sites
- AI RAG Search Chat 27 sites
- Search API TruSearch 25 sites
- FullCalendar Solr 24 sites
- Contacts 19 sites
- Search API Kana Convert 15 sites
- Syncore 15 sites
- Drutopia Search 15 sites
- Scolta 14 sites
- Search Api Boolean Field Boost 14 sites
- AI Related Content 13 sites
- LocalGov Irish Service Catalogue 11 sites
- ElasticSearch Attachment 10 sites
- Search API Instant 10 sites
- Facet Type Tray 9 sites
- Search API Group Access 8 sites
- Search API Manticore 7 sites
- Search API Sitestudio Processor 6 sites
- ElasticSearch Filter and Analyser Management 5 sites
- Search API - ElasticsearchKit Proxy 4 sites
- Search API Reference 4 sites
- Search API Layout Block filter 3 sites
- CRM Search API 3 sites
- Search API PinByPhrase 2 sites
- Knowledge 2 sites
- FlowDrop AI Search 1 sites
- RAG (Retrieval-Augmented Generation) Search 1 sites
- Apache Solr log 1 sites
- Search API Solr Boost By User Term 1 sites
- AI Index Health
- Search API Date Limit
- Crazy Indexer
- Address Processor
- Search API mark outdated
- Search API Workspaces
- My Opinion
- CS Gov
- Search API Luxir
- Llm Enhanced Search
- Search API Switch
More in the Search ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-1.43 | Stable | 10–11 | Oct 28, 2026 | ||
| 8.x-1.42 | Stable | 10–11 | Oct 11, 2026 | ||
| 8.x-1.41 | Stable | 10–11 | Jun 8, 2026 | ||
| 8.x-1.40 | Stable | 10–11 | Nov 1, 2025 | ||
| 8.x-1.39 | Stable | 10–11 | Sep 27, 2025 | ||
| 7.x-1.30 | Stable | Mar 16, 2025 | |||
| 8.x-1.38 | Stable | 10–11 | Feb 23, 2025 | ||
| 8.x-1.37 | Stable | 10–11 | Nov 27, 2024 | ||
| 8.x-1.36 | Stable | 10–11 | Nov 24, 2024 | ||
| 8.x-1.35 | Stable | 10–11 | Jun 16, 2024 |