Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Reciprocal Rank Fusion (RRF)

No security coverage Under active development

This module enhances Drupal's search functionality by combining results from different search methods, such as vector and keyword searches. It uses the Reciprocal Rank Fusion algorithm to merge and re-rank these results, improving overall search relevance.

RRF Search

Reciprocal Rank Fusion (RRF) module for combining vector and traditional search results in Drupal Search API.

Features

  • Implements Reciprocal Rank Fusion algorithm for search result merging
  • Seamlessly integrates with Search API
  • Combines vector-based and keyword-based search results
  • Improves search relevance through result fusion

Requirements

  • Drupal 10 or Drupal 11
  • Search API module
  • AI module (2.0+) with AI Search submodule

Installation

Using Composer (recommended)

composer require drupal/rrf

Then enable the module:

drush en rrf

Manual Installation

  1. Download the module from Drupal.org
  2. Extract to web/modules/contrib/rrf
  3. Enable via the admin interface or with Drush

Usage

Once enabled, the RRF Search module provides a Search API processor that combines results from multiple search backends using the Reciprocal Rank Fusion algorithm.

How RRF Works

Reciprocal Rank Fusion combines rankings from multiple search systems by:

  1. Taking results from different search methods (e.g., vector search and keyword search)
  2. Assigning scores based on result positions
  3. Merging and re-ranking results for optimal relevance

Contributing

Contributions are welcome! Please:

  1. Check the issue queue for existing issues
  2. Follow Drupal coding standards
  3. Submit patches or merge requests via Drupal.org

Support

License

This project is licensed under the GPL-2.0-or-later license.

Drupal 10–11

Ask your assistant about Reciprocal Rank Fusion (RRF)

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Nov 2025
Latest release
10 months ago
Releases (12 mo)
7 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.1.0 Stable 10–11 Nov 28, 2025
1.0.1 Stable 10–11 Nov 28, 2025
1.0.2-alpha2 Pre-release 10–11 Nov 28, 2025
1.0.0-alpha1 Pre-release 10–11 Nov 28, 2025
1.x-dev Dev 10–11 Nov 28, 2025
1.0.0 Stable 10–11 Nov 28, 2025
1.0.x-dev Dev 10–11 Nov 28, 2025