Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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.

Activity

Total releases
7
First release
Nov 2025
Latest release
7 months ago
Releases (12 mo)
7 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

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