[PR #256] [MERGED] fix: Normalize scores in RRF ranking in hybrid search #262

Closed
opened 2026-02-16 05:17:09 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/256
Author: @dishaprakash
Created: 10/1/2025
Status: Merged
Merged: 10/7/2025
Merged by: @averikitsch

Base: mainHead: rrf-bug-fix


📝 Commits (5)

  • e74cdb1 fix: Normalize scores in RRF ranking in hybrid search
  • b7cf383 fix lint
  • 03776a7 fix lint
  • 3264c04 remove weighted sum test in rrf test suite
  • d78d2aa Merge branch 'main' into rrf-bug-fix

📊 Changes

3 files changed (+165 additions, -110 deletions)

View changed files

📝 langchain_postgres/v2/async_vectorstore.py (+1 -0)
📝 langchain_postgres/v2/hybrid_search_config.py (+38 -24)
📝 tests/unit_tests/v2/test_hybrid_search_config.py (+126 -86)

📄 Description

Fixes Major Issue 1 in https://github.com/langchain-ai/langchain-postgres/issues/234


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langchain-postgres/pull/256 **Author:** [@dishaprakash](https://github.com/dishaprakash) **Created:** 10/1/2025 **Status:** ✅ Merged **Merged:** 10/7/2025 **Merged by:** [@averikitsch](https://github.com/averikitsch) **Base:** `main` ← **Head:** `rrf-bug-fix` --- ### 📝 Commits (5) - [`e74cdb1`](https://github.com/langchain-ai/langchain-postgres/commit/e74cdb173fdbda4f10d353347c3b6898b409732a) fix: Normalize scores in RRF ranking in hybrid search - [`b7cf383`](https://github.com/langchain-ai/langchain-postgres/commit/b7cf38328340ee69ad085634aa4ce1869177c792) fix lint - [`03776a7`](https://github.com/langchain-ai/langchain-postgres/commit/03776a74475224c90e713d5b0f885d3abdb726c0) fix lint - [`3264c04`](https://github.com/langchain-ai/langchain-postgres/commit/3264c04a0b1a97d41b5300e33225bdd90892c285) remove weighted sum test in rrf test suite - [`d78d2aa`](https://github.com/langchain-ai/langchain-postgres/commit/d78d2aa3d90cadbeb2b631475a23ecd3e0c4fc29) Merge branch 'main' into rrf-bug-fix ### 📊 Changes **3 files changed** (+165 additions, -110 deletions) <details> <summary>View changed files</summary> 📝 `langchain_postgres/v2/async_vectorstore.py` (+1 -0) 📝 `langchain_postgres/v2/hybrid_search_config.py` (+38 -24) 📝 `tests/unit_tests/v2/test_hybrid_search_config.py` (+126 -86) </details> ### 📄 Description Fixes Major Issue 1 in https://github.com/langchain-ai/langchain-postgres/issues/234 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 05:17:09 -05:00
yindo closed this issue 2026-02-16 05:17:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langchain-postgres#262