Skip to content

Conversation

@jac0626
Copy link
Collaborator

@jac0626 jac0626 commented Nov 25, 2025

Convert EmbeddingList to flat array in search() and hybrid_search() before calling Prepare(just like the sync client). Enhance is_legal_search_data() to recognize EmbeddingList.

Add unit tests for search and hybrid_search with EmbeddingList.
also see #3059

@jac0626 jac0626 requested review from XuanYang-cn and removed request for tedxu and wangting0128 November 25, 2025 06:27
@mergify mergify bot added the dco-passed label Nov 25, 2025
@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

❌ Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (master@cfbd46e). Learn more about missing BASE report.

Files with missing lines Patch % Lines
pymilvus/client/check.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #3101   +/-   ##
=========================================
  Coverage          ?   45.74%           
=========================================
  Files             ?       65           
  Lines             ?    13869           
  Branches          ?        0           
=========================================
  Hits              ?     6344           
  Misses            ?     7525           
  Partials          ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jac0626 jac0626 force-pushed the fix/async_search_embedding_list branch from 7536439 to 2b10f88 Compare November 25, 2025 06:36
@mergify mergify bot added the ci-passed label Nov 25, 2025
@XuanYang-cn XuanYang-cn added the PR | need to cherry-pick to 2.x This PR need to be cherry-picked to 2.x branch label Nov 26, 2025
Copy link
Contributor

@XuanYang-cn XuanYang-cn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Convert EmbeddingList to flat array in search() and hybrid_search()
before calling Prepare. Enhance is_legal_search_data() to recognize
EmbeddingList.

Add unit tests for search and hybrid_search with EmbeddingList.

Signed-off-by: silas.jiang <[email protected]>
@jac0626 jac0626 force-pushed the fix/async_search_embedding_list branch from 2b10f88 to c990a59 Compare November 26, 2025 09:33
@sre-ci-robot sre-ci-robot removed the lgtm label Nov 26, 2025
Copy link
Contributor

@XuanYang-cn XuanYang-cn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jac0626, XuanYang-cn

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit ddff574 into milvus-io:master Nov 26, 2025
13 checks passed
@github-actions
Copy link

github-actions bot commented Dec 2, 2025

Backport Failed
Hi @jac0626, I could not cherry-pick this to 2.6 due to merge conflicts. Please backport manually.

(cc @jac0626)

1 similar comment
@pymilvus-bot
Copy link
Collaborator

Backport Failed
Hi @jac0626, I could not cherry-pick this to 2.6 due to merge conflicts. Please backport manually.

(cc @jac0626)

@XuanYang-cn XuanYang-cn removed the PR | need to cherry-pick to 2.x This PR need to be cherry-picked to 2.x branch label Dec 4, 2025
jac0626 added a commit to jac0626/pymilvus that referenced this pull request Dec 4, 2025
Convert EmbeddingList to flat array in search() and hybrid_search()
before calling Prepare(just like the sync client). Enhance
is_legal_search_data() to recognize EmbeddingList.

Add unit tests for search and hybrid_search with EmbeddingList.
also see milvus-io#3059

Signed-off-by: silas.jiang <[email protected]>
Co-authored-by: silas.jiang <[email protected]>
(cherry picked from commit ddff574)
Signed-off-by: silas.jiang <[email protected]>
@XuanYang-cn
Copy link
Contributor

#3130

sre-ci-robot pushed a commit that referenced this pull request Dec 4, 2025
…) (#3130)

cherry-pick #3101 
Convert EmbeddingList to flat array in search() and hybrid_search()
before calling Prepare(just like the sync client). Enhance
is_legal_search_data() to recognize EmbeddingList.

Add unit tests for search and hybrid_search with EmbeddingList. also see
#3059



(cherry picked from commit ddff574)

Signed-off-by: silas.jiang <[email protected]>
Co-authored-by: silas.jiang <[email protected]>
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.

4 participants