Using the qdrant Java apis, how do I get the named vectors that are resolved from queryAsync api? #76
|
I created a collection with a dense and sparse vector single point embedding for testing. I then ran queryAsync api against it with a query embedding and vectors enabled for put . I see the response include a vectors output with nested vectors containing the dense and sparse vector for that point/id. How do I get the named vectors out of the response? |
Answered by
nirmalavhcl
Jul 8, 2025
Replies: 1 comment
|
I figured it out from looking at Points.java generated. From the ScoredPoint returned from queryAsync, I can check if |
0 replies
Answer selected by
Anush008
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured it out from looking at Points.java generated. From the ScoredPoint returned from queryAsync, I can check if
scoredPoint.getVectors().HasVectors() is true and then call scoredPoint.getVectors().getVectors().getVectorsOrDefault()