AI-Powered Search for Drupal — Zero Configuration
Opensolr Search gives your Drupal site hybrid AI search (keyword + vector/semantic), AI-generated answers, autocomplete, faceted navigation, analytics, and real-time content sync — all from a single module
with zero dependencies beyond Drupal core. No Solr schema editing. No field mapping. No indexing load on your server.
→ Live Demo | Documentation | Product Page
Two Ways to Index
| Web Crawler | Opensolr visits your pages externally — like Google. Indexes HTML, PDFs, DOCX, XLSX automatically. Zero Drupal load. |
| Data Ingestion API | Push content directly from Drupal. Works behind firewalls. Real-time sync on every save/delete. Bulk ingestion via cron for 500K+ sites. |
| Both | Ingestion for instant updates, crawler as a safety net. Both produce identical Solr documents. |
What You Get
- Hybrid AI Search — keyword + semantic vector search (BGE-m3, 1024-dim). "CMS hosting" finds "Drupal cloud deployment"
- AI Hints — streaming AI answers above results, powered by RAG on your own content
- AI Reader — full-screen AI summaries per document
- Autocomplete — query suggestions + live Solr results in one dropdown
- Faceted Navigation — auto-discovered from your schema. Lists, date ranges, numeric sliders with thousands separators. Drag-and-drop ordering. Per-facet mincount thresholds
- Hierarchical Drill-Down Facets — navigate multi-level taxonomies like breadcrumbs (e.g. Products > Electrical testing > Clamp meters). Auto-detected from JSON-LD BreadcrumbList data. Supports any
start level, back navigation, and "Show more" for large lists - Smart Number Formatting — slider inputs, filter pills, and tooltips display thousands separators (e.g. 15,637.00). Float fields show 2 decimals, integers show none. Min/max boundaries are floored/ceiled to
always cover all results - Spellcheck — "Did you mean?" with automatic collation
- Query Elevation — visual PIN/EXCLUDE buttons directly on search results
- Analytics Dashboard — queries, clicks, CTR, no-results, top URLs. Privacy-first (hashed IPs)
- Search Tuning — 10 parameters: field weights, semantic balance, freshness, mm, vector pool, quality threshold
- Multilingual — automatic locale filtering per Drupal language. Each translation = separate Solr doc
- Document Search — PDF, DOCX, XLSX, PPTX, ODT text extraction and indexing
- Commerce — products with price, currency, categories, JSON-LD structured data. Price sliders with thousands-separated display
- SEO Meta Tags — automatic OG, Twitter Cards, JSON-LD, canonical — no Metatag module needed
- Persistent Filters — admin-configured Solr fq rules applied to every search
- Embeddable Mode — optionally use Opensolr's hosted search UI instead of Twig templates
- Dark Theme — full dark mode across all elements including slider inputs and facet tooltips
- Infinite Scroll — or classic numbered pagination. Your choice
- Safari & iOS Compatible — tested on real devices. Proper touch handling, async asset loading, no layout glitches
10 Admin Tabs
Everything at /admin/config/search/opensolr:
Settings → Data Crawler → Data Ingestion → Facet Mapping → Search Display → Embeddable → Search Tuning → Analytics → Elevation → Filters
Setup in 2 Minutes
composer require drupal/opensolr_search- Enter your Opensolr email + API key
- Select region → Save & Connect — index created automatically
- Pick content types → start crawler or enable real-time sync
- Search is live at
/opensolr-search
vs Search API Solr
| Opensolr Search | Search API Solr | |
|---|---|---|
| Setup | Email + API key → done | Install Solr, connector, config sets, schema |
| Indexing load | Zero (crawler) or minimal (cron) | Heavy — pushes every field on cron |
| AI / Vector search | Built-in | Not included |
| AI answers | Streaming RAG + document reader | Not included |
| Real-time sync | Built-in — push on save | Requires cron |
| Analytics | Built-in dashboard | Not included |
| Facets | Auto-discovered, hierarchical drill-down, sliders, date ranges | Requires Facets module + config |
| Document search | Automatic extraction | Requires Tika module |
| Query elevation | Visual buttons on results | Manual XML editing |
| SEO meta tags | Automatic | Requires Metatag + Token |
| Behind firewalls | Data Ingestion API | Requires network access |
| Dependencies | drupal:node only |
Search API + Solr + connector + more |
Security
3-round security audit. Parameterized DB queries, XSS-safe Twig output, sanitized Solr params, CSRF on all write endpoints, hashed IPs, Xss::filter() on highlighting, DOMParser-based HTML sanitization on AI
output. Full details in the documentation.
Requirements
- Drupal 10 or 11 · PHP 8.1+ · HTTPS (for crawler; not needed for Data Ingestion)
- Opensolr account (free tier available) · No other modules required
Project information
- Project categories: Artificial Intelligence (AI), Search engine optimization (SEO), Site search
- Ecosystem: Drupal site search
2 sites report using this module
- Created by opensolr on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Sort controls, hierarchical facet navigation fixes, and date picker UX improvement.











