This project is not covered by Drupal’s security advisory policy.

Search API Switch will move a site from Drupal's core Search module to Search API in guided, reversible steps, keeping the existing search path, its keys query parameter and the search block's place on the page, so links and bookmarks keep working.

Status: No release yet. The module is under active development; the first beta follows once its automated test suite and an independent review pass.

This module is developed with AI assistance. The maintainer reviews and tests every release before publishing it.

Planned for 1.0

Drupal 12 removes Search from core. The contributed Search project keeps it working, but many sites would rather move to Search API. None of this is released yet. The first release will:

Analyze

  • Read the core search pages (content, users and help), their paths and settings, the search blocks and their regions, the ranking settings, and the content types and fields, and produce a migration plan to review before anything changes.

Apply

  • Create a Search API server (the database backend by default, or any existing server you choose) or reuse one, and a content index with sensible fields and processors.
  • Create a View whose page answers on the core search page's path and accepts the same keys parameter.
  • Replace the core search block with the View's exposed-form block, in the same region and at the same weight.
  • Index the content in batches.

Verify, cut over or roll back

  • Run sample queries through both engines and report how far their results overlap, before cutover.
  • Disable the core search pages and, optionally, uninstall Search, after requirement checks.
  • Roll back any step until that final uninstall: rollback removes what the module created and puts the original blocks back.

It will work whether Search is still in core (Drupal 11) or comes from the contributed project (Drupal 12), through a wizard or through Drush commands for each step: plan, apply, verify, cutover and rollback.

Requirements

Planned for the first release:

  • Drupal 11.3 or later, or Drupal 12.
  • PHP 8.3 or later.
  • Search API and core Views.
  • The Search module, from core or from the contributed project, with the pages to move.

Installation

Installation instructions arrive with the first release. For the first beta, the commands will be:

composer require 'drupal/search_api_switch:^1.0@beta'
drush en search_api_switch

Configuration and permissions

Not final yet. This section will list each settings page and each permission, by its real label, with the first release.

Similar projects

Checked on drupal.org in November 2026.

  • Search (from core) is core Search as a contributed project, with a 1.0.0 release for Drupal 11.5 and 12. Choose it if core Search does what your site needs; then nothing has to move.
  • Search API Pages provides search pages built on Search API. It does not move existing core search configuration, blocks or URLs.
  • Drupal CMS's search recipe adds Search API to a site, but does not migrate existing search pages, blocks or URLs.

Support and maintenance

Report bugs, ask for features and comment on the planned scope in the issue queue. Each release will have notes describing what changed.

This project is not covered by Drupal's security advisory policy. Until it is, security issues are handled in the public issue queue and fixed in ordinary releases.

A read-only mirror is on GitHub at DanePete/drupal-search-api-switch. It will mirror the drupal.org repository once code is published there; development and issues stay on drupal.org.

Maintainer

Created and maintained by deadnorth (Dead North).

Project information

Releases