-
Notifications
You must be signed in to change notification settings - Fork 388
fix: AsyncMilvusClient.search support EmbeddingList #3101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: AsyncMilvusClient.search support EmbeddingList #3101
Conversation
Codecov Report❌ Patch coverage is
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. 🚀 New features to boost your workflow:
|
7536439 to
2b10f88
Compare
XuanYang-cn
left a comment
There was a problem hiding this 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]>
2b10f88 to
c990a59
Compare
XuanYang-cn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
[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 |
1 similar comment
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]>
…) (#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]>
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