hybrid-search-implementation

Combine vector similarity with keyword matching for hybrid search retrieval.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Division6066/tempo-rhythm --skill hybrid-search-implementation-division6066
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hybrid-search-implementation
Source: https://github.com/Division6066/tempo-rhythm/tree/main/.agents/skills/hybrid-search-implementation
Command: npx skills add https://github.com/Division6066/tempo-rhythm --skill hybrid-search-implementation-division6066

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hybrid search combines vector similarity and exact keyword matching to improve retrieval recall and precision across diverse data sources.

Core Features & Use Cases

  • Hybrid search architecture enabling simultaneous semantic and lexical matching
  • Fusion strategies: Reciprocal Rank Fusion (RRF), linear combination, cross-encoder reranking, cascade
  • Templates and integration examples for PostgreSQL, Elasticsearch, and custom pipelines to build end-to-end RAG systems

Quick Start

Configure a hybrid search pipeline by wiring a vector store with a keyword index and selecting a fusion method to retrieve and rank results.

Frequently Asked Questions about hybrid-search-implementation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is hybrid search and how does it improve information retrieval?

Hybrid search combines vector similarity with exact keyword matching to improve retrieval recall and precision. By enabling simultaneous semantic and lexical matching, it retrieves more relevant results across diverse data sources and mixed vocabularies.

How do I combine vector similarity and keyword matching in a RAG system?

To combine vector similarity and keyword matching in a RAG system, configure a hybrid search pipeline by wiring a vector store with a keyword index. Select a fusion method like Reciprocal Rank Fusion to retrieve and rank results.

What fusion strategies are available for ranking hybrid search results?

Available fusion strategies for ranking hybrid search results include Reciprocal Rank Fusion (RRF), linear combination, cross-encoder reranking, and cascade. These methods merge semantic and lexical scores to improve final result relevance.

Does hybrid search work with PostgreSQL and Elasticsearch backends?

Yes, hybrid search works with PostgreSQL and Elasticsearch backends. The implementation provides templates and integration examples for both platforms, alongside support for building custom pipelines to deploy end-to-end retrieval systems.

When should I use cross-encoder reranking instead of linear combination for search?

Use cross-encoder reranking instead of linear combination when you need deeper query-document interaction for higher precision. Linear combination simply averages scores, while cross-encoder reranking evaluates pairs to refine the final hybrid search ranking.