Drupal is a registered trademark of Dries Buytaert

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.

Activity

Total releases
10
First release
Jun 2025
Latest release
1 month ago
Release cadence
26 days
Stability
0% stable

Release Timeline

Releases

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