Opensolr Search gives your Drupal 10, 11 or 12 site fast, relevant search on Opensolr: keyword and vector search in one ranking, facets, autocomplete, analytics, PDF and Office documents page by page, Drupal AI Search on the same index, and now a chatbot that lets your visitors talk to your site. No Search API dependency for the search page, no Solr configuration, and no indexing load on your Drupal server.
Your visitors can talk to your site
The Opensolr assistant is a chatbot, Ask this site, that answers from your Opensolr Index:
- Answers from your content: every question is searched in your pages, products and documents first, and the answer links to the pages it used, PDFs to the exact page
- Written as it comes: the answer streams word by word, in the visitor's language
- Facts it never guesses: today's date, the local time anywhere, exchange rates, VAT rates and VAT numbers, distances, postal codes, places and coordinates with a map link, where an IP address is
- Commands that answer at once:
/search,/time,/rate,/vat,/vatcheck,/distance,/place,/postal,/ip,/language,/translateand/help. Typing/lists them as you type, and the ? button explains each with an example to click - Translation:
/translate en-es What is this?translates a text of up to 10,000 characters, written as it comes, with a table of language codes in the chat - Built for visitors: a New chat button, Arrow Up to bring back earlier messages, a window they can resize, links that open in a new tab, one question at a time, limits per message, per conversation and per visitor
- One click: the Assistant tab places the chatbot on every page; its instructions and limits are yours to change
For developers: the Opensolr provider now answers chats (streamed, with tool calls) for any AI agent or chatbot of your site, and twelve Opensolr tools are ready for Drupal AI agents.
Try it: open drupal.opensolr.com (one-time human check), click one of the questions under Ask this site or a command in Talk to this site, or open the chat at the bottom right.
Drupal AI Search on your Opensolr Index
The included Opensolr AI Search module makes your Opensolr Index the search of the Drupal AI module. It searches the content the module already sent, so nothing is indexed twice:
- Words and meaning together, in one ranking, in every language of your site
- The right page of the PDF: a page with an attached PDF comes back with the PDF pages that match, each linked to its page
- Highlighted snippets and one result per page, never duplicates
- One click: the AI Search tab creates the Search API server, a read-only index and a search page at
/ai-search, a View you can change
Try it: live demo, or log in at drupal.opensolr.com/user/login as demo / opensolr-demo to see every setting (read only). How it works: Drupal AI Search documentation.
Features
- Chatbot: visitors ask in their own words and get answers from your content, with links, plus commands and translation
- Hybrid search: keyword matching and vector search together
- Two ways to index: the Opensolr Web Crawler, or Data Ingestion with real-time sync on save; use both
- Documents: PDF, Word, Excel, PowerPoint and OpenDocument files, PDFs indexed page by page, scanned pages read with OCR
- Facets discovered from your content, hierarchical categories, price and date ranges
- Autocomplete and spellcheck
- AI Hints and AI Reader: answers and summaries from your own content (optional)
- Search analytics: top queries, searches with no results, clicks
- Query elevation: pin or hide results for any query
- Multilingual: every translation searched in its own language
- Search page on or off: keep the search page at
/opensolr-search, Drupal AI Search, or both - Embeddable search: the hosted Opensolr search UI instead of the Drupal templates
Requirements
- Drupal 10.1 or newer (11 and 12 included), PHP 8.1 or newer
- An Opensolr account (free plan available)
- HTTPS on your site for the Web Crawler
- For Drupal AI Search and the chatbot: the AI module and an Opensolr plan with AI features
Getting started
composer require drupal/opensolr_searchand enable Opensolr Search- Go to Configuration » Search and metadata » Opensolr Search, enter your Opensolr email and API key; the index is created for you
- Start the crawler or run Data Ingestion; your search page is ready at
/opensolr-search - For Drupal AI Search:
composer require drupal/ai, enable Opensolr AI Search, open the AI Search tab and click Set up AI Search - For the chatbot: enable AI Chatbot (part of the AI module), open the Assistant tab and click Set up the assistant
Documentation and demo
- Documentation
- Product page
- Chatbot demo (Ask this site, bottom right), search page demo and Drupal AI Search demo
Already on Search API Solr? Search API Opensolr connects your existing setup to Opensolr.
Project information
- Project categories: Artificial Intelligence (AI), Search engine optimization (SEO), Site search
- Ecosystem: Drupal site search
15 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
5.7.3: Hierarchical facets no longer slow the search page down on large indexes.











