[PR #211] [MERGED] feat: Added Hybrid Search Config and Tests [1/N] #237

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/211
Author: @vishwarajanand
Created: 5/19/2025
Status: Merged
Merged: 6/3/2025
Merged by: @vishwarajanand

Base: mainHead: hybrid_search_1


📝 Commits (10+)

  • 22088a1 feat: Added Hybrid Search Config and Tests [1/N]
  • 30942ff feat: create hybrid search capable vector store table [2/N]
  • e641575 feat: adds hybrid search for async VS interface [3/N]
  • 2a0bf0d feat: adds hybrid search for sync VS interface [4/N]
  • 0562678 Merge branch 'main' into hybrid_search_1
  • 70ee300 fix: tests
  • 5234648 fix: pr comments
  • 73d4400 fix: lint
  • 57ceb2c fix: lint
  • 678e7b1 Merge branch 'hybrid_search_1' into hybrid_search_2

📊 Changes

9 files changed (+1195 additions, -32 deletions)

View changed files

📝 langchain_postgres/v2/async_vectorstore.py (+152 -13)
📝 langchain_postgres/v2/engine.py (+32 -2)
langchain_postgres/v2/hybrid_search_config.py (+149 -0)
📝 langchain_postgres/v2/vectorstores.py (+19 -0)
📝 tests/unit_tests/v2/test_async_pg_vectorstore_index.py (+65 -8)
📝 tests/unit_tests/v2/test_async_pg_vectorstore_search.py (+423 -0)
📝 tests/unit_tests/v2/test_engine.py (+63 -8)
tests/unit_tests/v2/test_hybrid_search_config.py (+229 -0)
📝 tests/unit_tests/v2/test_pg_vectorstore_search.py (+63 -1)

📄 Description

Adds configs and tests for Hybrid Search based on TSV + Vector Search

Other PRs:

TODO:

Add documentation in a followup PR, ref for comment


🔄 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/211 **Author:** [@vishwarajanand](https://github.com/vishwarajanand) **Created:** 5/19/2025 **Status:** ✅ Merged **Merged:** 6/3/2025 **Merged by:** [@vishwarajanand](https://github.com/vishwarajanand) **Base:** `main` ← **Head:** `hybrid_search_1` --- ### 📝 Commits (10+) - [`22088a1`](https://github.com/langchain-ai/langchain-postgres/commit/22088a1e090226f82abec461d0e2372ed74ce45c) feat: Added Hybrid Search Config and Tests [1/N] - [`30942ff`](https://github.com/langchain-ai/langchain-postgres/commit/30942ff95476c5e2d0c6a93a3ea6c6f2ab0899f2) feat: create hybrid search capable vector store table [2/N] - [`e641575`](https://github.com/langchain-ai/langchain-postgres/commit/e641575193134162dca4dac245865a20b91f7e94) feat: adds hybrid search for async VS interface [3/N] - [`2a0bf0d`](https://github.com/langchain-ai/langchain-postgres/commit/2a0bf0dd00c4fc81ea14e09b08c53ca55c83f911) feat: adds hybrid search for sync VS interface [4/N] - [`0562678`](https://github.com/langchain-ai/langchain-postgres/commit/0562678971781d6de4b5a2453138186f719f3d12) Merge branch 'main' into hybrid_search_1 - [`70ee300`](https://github.com/langchain-ai/langchain-postgres/commit/70ee3001cbdaeb30285b571678771d6c313105f3) fix: tests - [`5234648`](https://github.com/langchain-ai/langchain-postgres/commit/523464836833351562150e3a5e50f31161489066) fix: pr comments - [`73d4400`](https://github.com/langchain-ai/langchain-postgres/commit/73d4400dd2ab3723fe3422af0839d9517f8159df) fix: lint - [`57ceb2c`](https://github.com/langchain-ai/langchain-postgres/commit/57ceb2c26d333a7dece8eb0efdc22829035d38a0) fix: lint - [`678e7b1`](https://github.com/langchain-ai/langchain-postgres/commit/678e7b13226891a27f4f2aebc6c153899c4d6157) Merge branch 'hybrid_search_1' into hybrid_search_2 ### 📊 Changes **9 files changed** (+1195 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `langchain_postgres/v2/async_vectorstore.py` (+152 -13) 📝 `langchain_postgres/v2/engine.py` (+32 -2) ➕ `langchain_postgres/v2/hybrid_search_config.py` (+149 -0) 📝 `langchain_postgres/v2/vectorstores.py` (+19 -0) 📝 `tests/unit_tests/v2/test_async_pg_vectorstore_index.py` (+65 -8) 📝 `tests/unit_tests/v2/test_async_pg_vectorstore_search.py` (+423 -0) 📝 `tests/unit_tests/v2/test_engine.py` (+63 -8) ➕ `tests/unit_tests/v2/test_hybrid_search_config.py` (+229 -0) 📝 `tests/unit_tests/v2/test_pg_vectorstore_search.py` (+63 -1) </details> ### 📄 Description Adds configs and tests for Hybrid Search based on TSV + Vector Search ## Other PRs: * [1/N] https://github.com/langchain-ai/langchain-postgres/pull/211 * [2/N] https://github.com/vishwarajanand/langchain-postgres/pull/1 * [3/N] https://github.com/vishwarajanand/langchain-postgres/pull/2 * [4/N] https://github.com/vishwarajanand/langchain-postgres/pull/3 ## TODO: Add documentation in a followup PR, [ref for comment](https://github.com/vishwarajanand/langchain-postgres/pull/2/#issuecomment-2932936461) --- <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:04 -05:00
yindo closed this issue 2026-02-16 05:17:04 -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#237