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

vector search error #4086

Closed
2 tasks
lidachuan211 opened this issue Oct 24, 2020 · 2 comments
Closed
2 tasks

vector search error #4086

lidachuan211 opened this issue Oct 24, 2020 · 2 comments
Assignees
Labels
severity/major Major, major function doesn't work under some condition.
Milestone

Comments

@lidachuan211
Copy link

Please state your issue using the following template and, most importantly, in English.

Describe the bug
we user three fields as filter condition ,there are about 20 vectors after filtering,if we set topk = 20 in search params,then report error:
io.milvus.client.exception.ClientSideMilvusException: dns:///10.111.20.104:19530: null

but,if we set topk= 10, sucess!

Expected behavior
the filterd vectors is less than tokp,then response filter vecotrs

Method of installation

  • cpu only, docker

  • image:milvusdb/milvus:0.11.0-cpu-d101620-4c44c0

  • Milvus version (master or released version)
    0.11

Configuration file
Settings you made in server_config.yaml or milvus.yaml

paste-file-content-here

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@lidachuan211 lidachuan211 changed the title vector search vector search error Oct 24, 2020
@sahuang
Copy link
Member

sahuang commented Oct 24, 2020

This is a known bug in Java SDK: when search result is less than topK, the Client will throw an error.

It will be fixed in Java SDK v0.9.1.

Note: For now you can try 0.9.1-SNAPSHOT instead of 0.9.0 in dependency to see if it solves your issue.

@shengjun1985 shengjun1985 added severity/major Major, major function doesn't work under some condition. sdk/java labels Oct 26, 2020
@shengjun1985 shengjun1985 added this to the 0.11.1 milestone Oct 28, 2020
@sahuang
Copy link
Member

sahuang commented Oct 29, 2020

@lidachuan211 This has been fixed in 0.9.1 release. Can you check if the issue is resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/major Major, major function doesn't work under some condition.
Projects
None yet
Development

No branches or pull requests

3 participants