Drupal is a registered trademark of Dries Buytaert

QuantSearch AI

The QuantSearch AI module provides integration with QuantSearch.ai, an AI-powered search service by QuantCDN. It allows site visitors to search your content using natural language queries and receive synthesized answers rather than traditional keyword-matched results.

What does it do?

This module:

  • Indexes your Drupal content to the QuantSearch.ai service
  • Provides embeddable search widgets (chat, modal, and full page)
  • Supports real-time indexing on content save or queue-based batch indexing
  • Includes Drush commands for content indexing and management

Widgets

Three widget types are provided as blocks:

  • Chat Widget - A floating chat button for conversational search
  • Modal Widget - A Cmd+K / Ctrl+K style search overlay
  • Search Page - A full search results page with optional AI answers

Widgets can be placed via the block system or the chat widget can be enabled globally site-wide.

Content Indexing

The module supports two indexing modes:

  • Real-time - Content is sent to QuantSearch.ai immediately on node insert/update
  • Queue-based - Content is queued and processed in batches via cron or Drush

Content is automatically removed from the index when deleted or unpublished.

You can configure which content types to index. Taxonomy terms are automatically included as tags.

Drush Commands

For direct indexing (sends content from Drupal):

  • drush qs-index - Queue all published content for indexing
  • drush qs-process - Process the indexing queue
  • drush qs-queue - Display queue status

For crawl-based indexing (QuantSearch.ai crawls your site):

  • drush qs-crawl - Trigger a site crawl
  • drush qs-status <job_id> - Check crawl job status

Index management:

  • drush qs-purge - Purge the entire search index

Requirements

  • Drupal 10.3+, 11.x, 12.x
  • PHP 8.2+
  • Key module (for secure API key storage)
  • A QuantSearch.ai account (free tier available)

Configuration

After installation, navigate to Administration > Configuration > Search and metadata > QuantSearch AI to connect your QuantSearch.ai account via OAuth and configure indexing options.

Information for Developers

The module provides an alter hook to modify content before indexing:

hook_quantsearch_ai_page_alter(array &$page, NodeInterface $node)

This allows you to add custom tags, modify content, or conditionally exclude nodes from the index. See quantsearch_ai.api.php for documentation.

Related Modules

  • Search API - If you need a framework for building custom search solutions with local or Solr backends
  • Key - Required for secure credential storage

Documentation

Activity

Total releases
2
First release
Feb 2026
Latest release
5 days ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
1.0.0 Stable Feb 27, 2026
1.x-dev Dev Feb 27, 2026