Opensolr Search
Opensolr Search provides AI-powered hybrid search capabilities for Drupal, combining keyword and semantic search with AI-generated answers, autocomplete, and faceted navigation. It offers flexible content indexing options, including a web crawler and a data ingestion API, with real-time content synchronization and analytics without requiring Solr schema editing or impacting your server's performance.
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, real-time content sync, and multi-site shared indexes — 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 (BM25) + semantic vector search (1024-dim multilingual embeddings), fused per-document by the proprietary Opensolr
{!hybrid}parser: normalized score blending, real search modes (Union / Keywords Required / Meaning Required / Intersection), cross-lingual matching. "CMS hosting" finds "Drupal cloud deployment" - Multi-Site Shared Index — point any number of Drupal sites at one index (new in 4.1.0): create it on the first site, then choose "Use an existing index" on the others. One search across your whole site family, document IDs never collide
- 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 with Today / Last Week / Last Month presets, 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
- Result Thumbnails — map any image, file or media field as the result thumbnail, on both crawler and ingestion paths
- 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 — field weights, semantic–lexical balance, search modes, minimum match presets, vector candidate pool, content quality boost
- Multilingual — automatic locale filtering per Drupal language. Each translation = separate Solr doc. Cross-lingual semantic matching out of the box
- 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 → Save Credentials
- Pick your index: create a new one in the region of your choice, or attach an existing index from your account (multi-site)
- 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, with the{!hybrid} fusion parser
Not included
AI answers
Streaming RAG + document reader
Not included
Real-time sync
Built-in — push on save
Requires cron
Multi-site shared index
Built-in — "Use an existing index"
Manual multisite configuration
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.1, 11 or 12 · PHP 8.1+ · HTTPS (for crawler; not needed for Data Ingestion)
- Opensolr account (free tier available) · No other modules required