Drupal

Opensolr Drupal — find answers to your questions

Drupal Setup with Opensolr

Drupal + Opensolr Integration

Three Ways to Connect Drupal to Opensolr

Pick the approach that fits your needs — from a 3-minute standalone setup to full manual control.

OPTION 1 — FASTESTOpensolr SearchStandalone moduleVector + keyword searchFacets, autocomplete, AI~3 min setupOPTION 2 — RECOMMENDEDSearch API OpensolrSearch API backendKeep your existing setupAutoConfigure built-inDrop-in for Search API SolrOPTION 3 — MANUALSearch API SolrFull manual controlStandard Solr connectorConfig zip upload requiredFor advanced users

Option 1 — Opensolr Search Module (Standalone, Fastest Setup)

The Opensolr Search module is a completely standalone search engine for Drupal. It has no dependency on Search API — no views, no field mapping needed. You install it, enter your Opensolr credentials, and in about 3 minutes you have a fully working search page with:

Vector + keyword search

Finds relevant results even when users don't use the exact words

Faceted navigation

Filter panels auto-built from your content fields

Autocomplete + spellcheck

Suggestions as you type, "Did you mean?" corrections

Search analytics

Built-in dashboard: top queries, no-results, click-through rates

Query elevation

Pin or exclude specific results for any query

Optional AI features

AI answer summaries and document reader — can be turned off

No persistent AI. No telemetry. No bullshit.

Opensolr Search does not run a persistent AI model on your data, does not phone home, and does not collect telemetry. It uses dense vector embeddings — a one-time mathematical fingerprint of each document — to make classic Solr keyword search smarter at matching meaning. Optional LLM add-ons (answer summarization, document reader) sit on top and can be disabled entirely. The core module is a fast, modern Drupal search with facets and vector matching.

Marketing Page & Features → Get on Drupal.org Documentation →

Option 2 — Search API Opensolr (Recommended for Existing Search API Sites)

If you already use Drupal's Search API module with views, indexes, and processors configured — this is your path. Search API Opensolr is a direct drop-in replacement for Search API Solr. You keep everything: your indexes, your views, your processors, your field mappings. It just swaps the backend connection to Opensolr and handles authentication automatically.

This is NOT an AI module. It is a standard Search API backend connector — identical in concept to Search API Solr, with one key difference: it includes AutoConfigure, which creates your Opensolr index, uploads the config files, and sets up the Drupal server in one click. No zip files, no version matching, no manual upload.

Quick Install

composer require 'drupal/search_api_opensolr:^2.2'

Then enable the module → go to configuration → click AutoConfigure. Done.

Get on Drupal.org Full Documentation →

Option 3 — Search API Solr with Manual Setup

If you need full manual control and prefer to use the standard Search API Solr module, here is a complete step-by-step guide including exactly what to put in every Drupal field.

Step 1 — Find Your Connection Details in Opensolr

Log in to opensolr.com, go to your index, and collect the following values. You will need all of them for the Drupal server configuration form.

Solr Host

The cluster hostname from your Index Control Panel dashboard, e.g. us-east-8-10.solrcluster.com

Solr Port

Always 443 for Opensolr hosted indexes (HTTPS)

HTTP Scheme

Always https

Solr Path

/solr/YOUR_CORE_NAME — your core name is the index name shown in your Opensolr dashboard. Do NOT leave this as just / — Drupal will connect to the server but fail to reach the core.

Basic Auth Username

Default is opensolr — set automatically when your index is created. Only change this if you have updated it in the Security tab.

Basic Auth Password

Default is your Automation REST API key — found in your Opensolr dashboard under Account Settings. Only change this if you have updated it in the Security tab.

⚠ Critical: Do not touch the Security tab unless you know what you are setting

A very common mistake: users open the Security tab, make partial changes (for example leaving the password blank or entering the wrong value), then wonder why their connection fails. There is no such thing as an Opensolr index without a password. A blank password will not work — the index will reject all requests.

If you have changed anything in the Security tab, follow these rules exactly:

  • Changes take up to 10 seconds to propagate — do not test the connection immediately after saving
  • No special characters — avoid @ # % & and similar. They get sanitized and the stored value may not match what you typed. Use only letters, numbers, underscores, and hyphens.
  • Credentials are not saved in the UI — once you leave the Security tab, there is no way to see what you set. Write them down before saving.

The Security tab also shows the defaults — if you are unsure what you set, reset to:

Username: opensolr
Password: [your Automation REST API key from the dashboard]

API key regeneration note

If you regenerate your API key in the dashboard, existing indexes keep their old key as the password — only new indexes use the new key. To update an existing index, go to its Security tab and change the password manually. Full details: Default HTTP Auth Credentials →

For a complete guide on Opensolr security — HTTP auth, IP restrictions, credential propagation: Security Documentation →

Step 2 — Verify Your Solr Version

In your Index Control Panel dashboard, check which Solr version your index runs (e.g. 8.11, 9.x). When you download the config zip from Drupal, select the matching version. A mismatch causes schema errors.

If your Drupal module expects Solr 9 but your Opensolr index runs 8.x — contact us. We can adapt the config files without impacting your data.

Step 3 — Upload Config Files to Opensolr

  1. In Drupal, go to your Search API Solr server and download the config zip for your Solr version
  2. In Opensolr, open your index → click Config Files Editor
  3. Upload the zip file — that is it

No Reload button needed. Opensolr automatically validates every config file for errors during upload and reloads the index in place. If the zip contains invalid XML or schema errors, the upload is rejected and nothing changes. If it passes validation, the new config is live immediately. The same applies when editing individual files in the Config Files Editor — saving a file validates and reloads automatically.

Step 4 — Create Your Index and Start Indexing

  1. Create a Search API index in Drupal
  2. Select your content types, fields, and processors
  3. Click Index now

Quick Decision Guide

If you want...Use this
A full search engine up in minutes, no Search API neededOpensolr Search module
Keep your existing Search API views and indexes, just swap the backendSearch API Opensolr
Full manual control, existing Search API Solr code you cannot changeSearch API Solr (manual)
Multisite indexing across multiple Drupal sitesSearch API Opensolr or manual

LIVE DEMO

See Opensolr Search for Drupal in action

Vector search, faceted navigation, autocomplete, and AI hints on a live Drupal 11 site.

Try Live Demo →
Read Full Answer

Drupal Configuration Steps

Complete Drupal Setup Guide

New to Drupal + Opensolr? Start here.

Our comprehensive guide covers all 3 integration options (Opensolr Search module, Search API Opensolr, Search API Solr manual setup), credential configuration, the Security tab pitfalls, and everything you need for a working Drupal integration.

Looking for a simpler approach? The new Opensolr Search module for Drupal 10/11 replaces Search API Solr entirely — AI-powered hybrid search with zero indexing load on Drupal. Get it on Drupal.org

Drupal Configuration Steps (Legacy / Manual Method)

If the Search API Opensolr module's AutoConfigure feature does not work for your Drupal version, or if you prefer manual setup, follow these steps to connect Drupal to Opensolr using standard Basic Auth.

DRUPAL MANUAL SETUP FLOW1. Basic Authselect in Drupal2. Credentialssimple password3. Set Path/solr + core name4. Uploadconfig files5. Reloadthen indexDone!searchingUse this method when AutoConfigure is not available for your Drupal version.Avoid special characters in credentials — they cause URL encoding issues.


Step-by-Step Setup

Step 1: Select Basic Auth in Drupal

In your Drupal admin, go to the Solr Server settings and select Basic Auth as the authentication method (instead of the Opensolr-specific connector).

Step 2: Set Simple Credentials

In your Opensolr Index Control Panel, go to the Security tab and set a simple username and password. For testing, use something straightforward like:

Setting Value
Username myuser
Password mypass123

Avoid special characters — they can cause URL encoding issues in some Drupal versions.

Step 3: Enter Credentials in Drupal

In your Drupal Solr server settings, add the credentials you just set:

  • HTTP username: your Opensolr username
  • HTTP password: your Opensolr password

Step 4: Set the Solr Path

Set the Solr path to /solr in Drupal. The Solr core field should be your Opensolr Index name.

Step 5: Upload Solr Config Files

Download the Solr configuration files from the Search API Solr module. You will find them in the conf directory of the module. Zip them up and upload them to your Opensolr Index via the Config Files Editor in the control panel.

Make sure you upload the config files that match your Drupal version and Solr version.

Step 6: Reload and Index

After uploading config files, click Reload in your Opensolr control panel. Then go back to Drupal and create your Search API index. Click Index now to start sending content.


Quick Checklist

  • Select Basic Auth in Drupal Solr server settings
  • Set simple credentials (no special characters) in Opensolr control panel
  • Enter the same credentials in Drupal
  • Set Solr path to /solr and core to your index name
  • Upload config files from Drupal to Opensolr
  • Reload the Opensolr Index after uploading
Read Full Answer

Drupal Search API Opensolr

Complete Drupal Setup Guide

New to Drupal + Opensolr? Start here.

Our comprehensive guide covers all 3 integration options (Opensolr Search module, Search API Opensolr, Search API Solr manual setup), credential configuration, the Security tab pitfalls, and everything you need for a working Drupal integration.

Looking for a simpler approach? The new Opensolr Search module for Drupal 10/11 replaces Search API Solr entirely — AI-powered hybrid search with zero indexing load on Drupal. Get it on Drupal.org

Search API Opensolr for Drupal

The Search API Opensolr module is the fastest way to add enterprise-grade search to your Drupal site. It extends the core Search API Solr module and adds a direct bridge to Opensolr — including one-click setup that handles everything automatically.

SEARCH API OPENSOLR — WHAT IT DOES FOR YOUAutoConfigureOne click createsentire search setupAuto Config UploadSchema + solrconfiguploaded for youSecurity ModuleManage auth + IPfrom Drupal adminDrupal 10 + 11Fully compatibleand maintained369+ Drupal sites actively using this module100% support response rate | Security team coverage for stable releases


AutoConfigure (One-Click Setup)

The standout feature. In version 2.2.1 and later, AutoConfigure creates your entire search infrastructure with a single button click:

  1. Creates your Opensolr Index automatically
  2. Sets up the Drupal Search API server
  3. Uploads the correct config.zip
  4. Everything is ready to index

No manual configuration needed. No downloading config zips. No matching Solr versions.


Installation

composer require 'drupal/search_api_opensolr:^2.2'
drush en search_api_opensolr -y

Security Submodule

The optional Search API Opensolr Security submodule lets you manage your Opensolr Index security directly from Drupal — no need to leave your Drupal admin panel:

  • Update HTTP Basic Auth credentials
  • Manage IP restrictions
  • View current security settings

Feature Comparison

Feature Search API Solr Search API Opensolr
Full-text search Yes Yes
Faceted navigation Yes Yes
Autocomplete Yes Yes
AutoConfigure (one-click) No Yes
Auto config upload No Yes
Security management from Drupal No Yes
Zero-config setup No Yes

Video Tutorial

Watch the AutoConfigure feature in action:


Quick Checklist

  • Install via composer: composer require 'drupal/search_api_opensolr:^2.2'
  • Enable the module: drush en search_api_opensolr -y
  • Click AutoConfigure in the module settings
  • Optionally enable the Security submodule for credential management
  • Start indexing your content


LIVE DEMO

See Opensolr Search for Drupal in action

Try hybrid AI search, faceted navigation, autocomplete, highlighting, and more on a live Drupal 11 site with real content.

Try Live Demo →
Read Full Answer

Loading more articles...