Skip to content
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

Properly handle empty Search results #35

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

roji
Copy link
Collaborator

@roji roji commented Sep 2, 2023

When a Search returns zero results, Milvus returns null as the search result's IDs, rather than an empty list; this PR makes the client properly handle that.

Note also that the field data is empty in this case. Both of the above may make it trickier for consumers to deal with empty results in various ways.

@weianweigan weianweigan merged commit 9ec610d into milvus-io:main Sep 4, 2023
1 check passed
@roji roji deleted the SearchEmptyResults branch September 4, 2023 14:32
roji pushed a commit to roji/milvus-sdk-csharp that referenced this pull request Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants