Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

Native vector search for Drupal using MariaDB — no external services required.

This module enables MariaDB’s native VECTOR data type and indexing capabilities (available in MariaDB 11.7+) as a Vector Database (VDB) provider for the Drupal AI module. Since MariaDB is a drop-in replacement for MySQL and is widely used as Drupal’s primary database, vector embeddings can be stored and queried directly within the same database with full transactional support.

If your Drupal site already uses MariaDB, you can store your AI vectors in it by upgrading MariaDB to version 11.7 or later. If your site uses MySQL, you can replace it with MariaDB to enjoy the benefits of this module.

Features

  • Native MariaDB Vector Support: Utilizes MariaDB's built-in VECTOR data type and specialized VECTOR indexes
  • Multiple Distance Metrics: Support for Euclidean distance and Cosine similarity
  • Optimized Performance: Leverages MariaDB's modified HNSW (Hierarchical Navigable Small Worlds) algorithm
  • Seamless Integration: Works with the Drupal AI module and Search API
  • No External Dependencies: No need for separate vector database services
  • Operational Simplicity: No additional services, containers, or infrastructure layers

Post-Installation

  1. Create a Search API server using the AI Search backend
  2. Select "MariaDB vector DB" as the VDB provider
  3. Configure your embedding strategy and vector dimensions
  4. Create an index and add fields to the index
  5. Index your content

Your vector index is then ready for use with Drupal AI-powered features such as semantic search and RAG-based systems.

Additional Requirements

  • Drupal 10.2+ or Drupal 11+
  • MariaDB 11.7 or later (11.8 LTS recommended for GA support)
  • PHP 8.1+
  • PHP mysqli extension
  • Drupal AI module

Similar projects

Other AI Search VDB providers:

Commercial Support

This module is developed and maintained by Juan Martinez.

The module maintainer is available for professional consulting and architectural guidance related to production AI systems and enterprise Drupal implementations.

Activity

Total releases
2
First release
Feb 2026
Latest release
1 month ago
Release cadence
19 days
Stability
50% stable

Releases

Version Type Release date
1.0.0 Stable Mar 13, 2026
1.0.x-dev Dev Feb 22, 2026