Skip to content

Fix: use AsyncPipeline with OpensearchHybridRetriever super_component#3369

Open
Nitro963 wants to merge 4 commits into
deepset-ai:mainfrom
Nitro963:hybrid-retriever-async
Open

Fix: use AsyncPipeline with OpensearchHybridRetriever super_component#3369
Nitro963 wants to merge 4 commits into
deepset-ai:mainfrom
Nitro963:hybrid-retriever-async

Conversation

@Nitro963
Copy link
Copy Markdown
Contributor

@Nitro963 Nitro963 commented May 31, 2026

Proposed Changes:

Use AsyncPipeline so that OpensearchHybridRetriever component work within sync and async pipelines

How did you test it?

Created Unit tests for usage within async pipelines

@Nitro963 Nitro963 requested a review from a team as a code owner May 31, 2026 11:01
@Nitro963 Nitro963 requested review from sjrl and removed request for a team May 31, 2026 11:01
@github-actions
Copy link
Copy Markdown
Contributor

Coverage report (opensearch)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  integrations/opensearch/src/haystack_integrations/components/retrievers/opensearch
  open_search_hybrid_retriever.py
Project Total  

This report was generated by python-coverage-comment-action

@github-actions
Copy link
Copy Markdown
Contributor

Coverage report (elasticsearch)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  integrations/elasticsearch/src/haystack_integrations/components/retrievers/elasticsearch
  elasticsearch_hybrid_retriever.py
Project Total  

This report was generated by python-coverage-comment-action

@sjrl
Copy link
Copy Markdown
Contributor

sjrl commented Jun 1, 2026

Hey @Nitro963 thanks for the contribution! Could you separate these changes into two separate PRs, so one for OpenSearch and one for ElasticSearch? It helps keep our release notes for the different packages well separated.

@Nitro963 Nitro963 force-pushed the hybrid-retriever-async branch from 859d54f to 2a1464a Compare June 1, 2026 06:06
@Nitro963 Nitro963 changed the title Fix: use AsyncPipeline with hybrid search super_component Fix: use AsyncPipeline with OpensearchHybridRetriever super_component Jun 1, 2026
@Nitro963
Copy link
Copy Markdown
Contributor Author

Nitro963 commented Jun 1, 2026

@sjrl DONE, kindly check #3374 pull request

@sjrl
Copy link
Copy Markdown
Contributor

sjrl commented Jun 1, 2026

@Nitro963 thanks! Please also drop the changes to the elastic search integration in this PR

@sjrl sjrl self-assigned this Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants