> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinecone.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Hybrid search overview

> Combine two or more retrieval signals in Pinecone with a filter that narrows a ranking, or by fusing separate searches with reciprocal rank fusion.

Hybrid search combines two or more retrieval signals so your results benefit from each. Full-text search (BM25) and sparse-vector search match specific terms like product codes, error strings, and names. Semantic search (dense vectors) matches on meaning, so a query still finds an answer phrased with different words. Each method misses what the others catch, and hybrid search closes that gap.

## Combine signals

The following patterns differ in where the signals meet. A filter can serve as one of them: [metadata filtering](https://docs.pinecone.io/guides/search/filter-by-metadata.md) narrows the candidate pool before ranking, so an out-of-scope document can't compete for a result slot.

| Pattern | How it works | When to use it |
| - | - | - |
| Filter, then rank | A filter narrows the candidates, then any ranking clause scores what remains, all in one request. The filter can be a [metadata filter](https://docs.pinecone.io/guides/search/filter-by-metadata.md) on any filterable field, or a [text-match filter](https://docs.pinecone.io/guides/search/filter-by-metadata.md#text-match-filters) (`$match_phrase`, `$match_all`, `$match_any`) on a full-text field. The ranking clause can score the same `string` field with `embed`, or score a `dense_vector`, `sparse_vector`, or full-text field. | Document and text workloads on the Documents API. One index, one call, and no score normalization. |
| Client-side fusion | Run separate searches, then merge any number of their ranked lists with [reciprocal rank fusion (RRF)](https://docs.pinecone.io/guides/search/reciprocal-rank-fusion.md). | When you want every signal to contribute to the ranking rather than only narrow the pool. |

RRF is a fusion method, not a synonym for hybrid search. It's one way to merge ranked lists, while "hybrid search" is the broader approach of combining signals. See [Reciprocal rank fusion](https://docs.pinecone.io/guides/search/reciprocal-rank-fusion.md).

## Set up an index

For a new document or text workload, use the [Documents API](https://docs.pinecone.io/guides/get-started/documents-api.md). Declare one or more `string` fields with `full_text_search`, then add the dense side:

* **Integrated embedding**: Add `embed` to a `string` field, so Pinecone indexes the text for full-text search and embeds it for semantic search. See [Integrated embedding](https://docs.pinecone.io/guides/search/integrated-embedding.md).
* **Your own vectors**: Declare a `dense_vector` field alongside the full-text fields. See [Bring your own vectors](https://docs.pinecone.io/guides/search/bring-your-own-vectors.md) and the full-text search [example schemas](https://docs.pinecone.io/guides/search/full-text-search.md#example-schemas).

If you [converted a legacy vector index](https://docs.pinecone.io/guides/indexes/convert-an-index.md) that held both dense and sparse vectors, the new index has a separate field for each, plus any `string` field you gave `full_text_search`. The legacy combined dense and sparse query doesn't carry over, because a document search ranks by one scoring type per request. Combine them with one of the patterns above.

For a legacy vector index, see [Hybrid search on a single index](https://docs.pinecone.io/guides/legacy/vectors-api/hybrid-search-single-index.md) and [Hybrid search on separate indexes](https://docs.pinecone.io/guides/legacy/vectors-api/hybrid-search-separate-indexes.md).
