On this page
First steps
Requirements
Install the Search API module like any other module. There are no dependencies.
For setting up a server (and therefore actually using the Search API), you will also need a module providing a service class, like the database service or the Solr service. See Server backends and features below for details. For a first trial, the "Database search" module packaged with the Search API is a good choice.
If you quickly want to see an example set up, and maybe just customize that afterwards, you can just install the "Database Search Defaults" module included in the Search API project. It will set up a search server and index as well as a search view (at /search/content) for searching nodes using the database.
Modules that provide additional functionality for the Search API might have additional requirements. These will be listed with the respective modules/functionality below.
Search API administration page
After you have enabled the Search API module, click the "Configure" link next to the module's name in the module list to go to Search API's administration page. This page lists "servers" and "indexes", and is (along with its sub-pages) the place where you will make most Search API configurations. You can also reach it at Administration > Configuration > Search and metadata > Search API (or http://example.com/admin/config/search/search-api).
Then, follow the instructions in the other pages of this guide to create one or more indexes and servers, and set up other search functionality.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion