# Hybrid search in weaviate

**URL:** <https://forum.weaviate.io/t/hybrid-search-in-weaviate/9646>\
**Category:** Support\
**Created:** [January 9, 2025, 6:15am UTC](https://forum.weaviate.io/t/hybrid-search-in-weaviate/9646 "2025-01-09T06:15:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rohini\_vaidya](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/rohini_vaidya/32/3290_2.png) [@Rohini\_vaidya](https://forum.weaviate.io/u/Rohini_vaidya)\
**Post date:** [January 9, 2025, 6:15am UTC](https://forum.weaviate.io/t/hybrid-search-in-weaviate/9646/1 "2025-01-09T06:15:45Z")

</div>

hi, I’m working with hybrid search in Weaviate and have a few questions that need clarification:

1. Is there a parameter to set a threshold value for hybrid search to filter out results with a minimum score? While I see the `max_distance` parameter, it appears to be specific to vector search.
2. How is the score calculated in hybrid search? My understanding is that it might use Reciprocal Rank Fusion (RRF), but I’d like confirmation on this.
3. How does the `explainScore` feature work in hybrid search? Since hybrid search combines keyword search and vector search, how does the explanation indicate whether the result is influenced by keyword search, vector search, or both?

Thank you in advance for your insights!

---

<div class="post-metadata">

**Author:** ![Shahin](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/shahin/32/8085_2.png) [@Shahin](https://forum.weaviate.io/u/Shahin)\
**Post date:** [January 9, 2025, 4:04pm UTC](https://forum.weaviate.io/t/hybrid-search-in-weaviate/9646/2 "2025-01-09T16:04:15Z")

</div>

Hey @Rohini_vaidya, Happy New Year!

Regarding filters with hybrid search

> **[Filters | Weaviate](https://weaviate.io/developers/weaviate/search/filters#combine-filters-and-search-operators)**
>
> Filters let you include, or exclude, particular objects from your result set based on provided conditions.

The **max distance** parameter relates to the vector component in similarity searches as you mentioned. While we currently don’t have a **min score** parameter, that sounds like a valuable feature to suggest as feature [Sign in to GitHub · GitHub](https://github.com/weaviate/weaviate/issues/new/choose).

If you’d like more control over keyword relevance, you can adjust the **alpha** parameter to lean more towards keyword-based searches. Details on balancing keyword and vector searches

> **[Hybrid search | Weaviate](https://weaviate.io/developers/weaviate/search/hybrid#balance-keyword-and-vector-search)**
>
> Hybrid search combines the results of a vector search and a keyword (BM25F) search by fusing the two result sets.

For your second point:

**Relative Score Fusion** is the default fusion method starting from v1.24

> **[Hybrid search | Weaviate](https://weaviate.io/developers/weaviate/concepts/search/hybrid-search)**
>
> Hybrid search combines vector search and keyword search (BM25) to leverage the strengths of both approaches. This takes into account results' semantic similarity (vector search) and exact keyword relevance (BM25), providing more comprehensive search...

Lastly, **Hybrid Search** uses both keywords and vector searches simultaneously. Here’s how it works:

1. It retrieves the best results for both keyword (BM25) search and vector (nearXXX) search.

2. An algorithm combines these results into a weighted output.

The **alpha** parameter allows you to control the weighting:

• Default: 0.75 (balanced between vector and keyword).

• 1: Pure vector search.

• 0: Pure keyword search.

Results are ranked based on a combination of BM25 and vector scores

> **[Hybrid search | Weaviate](https://weaviate.io/developers/weaviate/concepts/search/hybrid-search)**
>
> Hybrid search combines vector search and keyword search (BM25) to leverage the strengths of both approaches. This takes into account results' semantic similarity (vector search) and exact keyword relevance (BM25), providing more comprehensive search...

Best regards,  
Mohamed Shahin  
Weaviate Support
