Installation
Opensolr Search is a free module on drupal.org. It stands on its own: it does not need Search API or any other module. Only its optional Opensolr AI Search part needs more: the Drupal AI module, which brings Search API with it.
What you need
- Drupal 10.1 or newer, 11 or 12, and PHP 8.1 or newer.
- HTTPS on your site, for the Data Crawler.
- An Opensolr account: create one for free.
Install
- In your Drupal project folder, run
composer require drupal/opensolr_search. - Enable it:
drush en opensolr_search, or tick Opensolr Search on the Extend page (/admin/modules) and click Install.
What you get
- The settings at Configuration › Search and metadata › Opensolr Search (
/admin/config/search/opensolr), with the tabs Settings, Data Crawler, Data Ingestion, Facet Mapping, Search Page, Search Tuning, Analytics, Elevation and Filters. - A search page at
/opensolr-searchand an Opensolr Search Box block. - A sitemap at
/opensolr-sitemap.xml, which the Data Crawler reads. - A permission, Administer Opensolr Search, for the people who manage it.
- Its own tables in your Drupal database for search analytics, elevation rules and ingestion jobs.
Opensolr AI Search, optional
The module comes with a second part, Opensolr AI Search, for Drupal 10.5 or newer with the Drupal AI module (the AI module installs Search API; the rest of Opensolr Search never uses it). It adds two tabs: AI Search, which makes your Opensolr Index the search of Drupal AI Search, and Chat Bot, which opens the Chat Bot of your index in the Opensolr Control Panel. The chat bot is not part of the module: Opensolr runs it, and one switch there shows it on your pages.
Connect your Opensolr account and pick your index.