Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module enables semantic search in Drupal using Solr, allowing users to find relevant results with natural language queries by leveraging AI models to generate and search vector embeddings. It supports various AI providers and embedding models, with configurable vector dimensions and similarity functions. This facilitates more intelligent and context-aware search experiences within your Drupal site.

The ultimate goal of this module is to enable a Solr search to let users use a loose, natural language in search queries and still get semantically relevant results (see screenshots).

This module allows you to:

  • Use the core Drupal AI framework to allow provider selection. Any provider supported by Drupal AI can be used.
  • Select from any embedding model from selected AI provider
  • Make vector dimension configurable
  • Make similarity function configurable

You will need at a minimum Solr 9.6 or higher installed with Search API Solr 4.x, along with the Drupal AI module and a configured AI provider. On the DenseVector processor configuration, you can select which provider to use to generate the embeddings to store in the index.

At this point, you should be able to do vector based searches with Solr in Drupal. Note that there are some limitations with Solr that the module cannot currently address. It is best to store only one field as a dense vector, as that is all Solr can support at the moment.

While using any provider is supported via the AI module, this module was tested using OpenAI and Ollama provider modules using their respective embedding models. Changing providers on the processor is easy, but do note that updating existing Solr configuration requires regenerating and uploading your configuration set and reindexing. Not all embedding models produce the same size vectors, resizing the field requires these steps for Solr to reflect the new changes.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Jun 2025
Latest release
7 months ago
Releases (12 mo)
5
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha9 Pre-release 10–11 Jan 29, 2026
1.0.0-alpha8 Pre-release 10–11 Oct 7, 2025
1.0.0-alpha7 Pre-release 10–11 Oct 4, 2025
1.0.0-alpha6 Pre-release 10–11 Sep 25, 2025
1.0.0-alpha5 Pre-release 10–11 Sep 4, 2025
1.0.0-alpha4 Pre-release 10–11 Jun 16, 2025
1.0.0-alpha3 Pre-release 11 Jun 10, 2025
1.0.0-alpha2 Pre-release 11 Jun 9, 2025
1.0.0-alpha1 Pre-release 11 Jun 9, 2025
1.0.x-dev Dev 10–11 Jun 9, 2025