You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Batch recommend request fails if one the points in positive is not found in qdrant. If I need to find neighbours for 10 points and I use the batch query I get a response consisting of the nearest neighbours of these 10 points. However if one of these 10 points is not in the DB, then the entire request fails instead of returning neighbours for 9 points and failing for that one point.
Current Behavior
The request returns:
UnexpectedResponse: Unexpected Response: 404 (Not Found)
Raw response content:
b'{"status":{"error":"Not found: No point with id xyz found"},"time":0.002222669}'
Steps to Reproduce
Ingest 10 vectors into qdrant.
Query neighbours for 11 points with one made up point that is not ingested into qdrant
Response gives 404 status
x = [1,2,3,4,5] # point 5 does not exist in qdrant
query = [RecommendRequest(positive = [x], limit = 10) for x in ids]
client.recommend_batch('collection', query) # this request breaks
Expected Behavior
Response should be generated by returning neighbours for points [1,2,3,4] and fail for 5.
Context (Environment)
Trying to build a real time vector search api where requests may have ids that havn't been ingested into qdrant and want to handle those requests gracefully.
The text was updated successfully, but these errors were encountered:
Hey @amey-wynk, this is an expected behaviour, not a bug.
If you think the behavior should be different, please consider making a feature request instead.
There are also similar issues which might be relevant #2313
Went through the issue thread you linked. Imo it is not ideal to make a network call just to validate points and then another call to fetch neighbours. This cannot be asynced and would unnecessarily increase latency. The first option discussed on that thread to ignore absent points sounds like the best possible solution.
Could you change the label of this issue to enhancement/feature request?
Batch recommend request fails if one the points in positive is not found in qdrant. If I need to find neighbours for 10 points and I use the batch query I get a response consisting of the nearest neighbours of these 10 points. However if one of these 10 points is not in the DB, then the entire request fails instead of returning neighbours for 9 points and failing for that one point.
Current Behavior
The request returns:
UnexpectedResponse: Unexpected Response: 404 (Not Found)
Raw response content:
b'{"status":{"error":"Not found: No point with id xyz found"},"time":0.002222669}'
Steps to Reproduce
x = [1,2,3,4,5] # point 5 does not exist in qdrant
query = [RecommendRequest(positive = [x], limit = 10) for x in ids]
client.recommend_batch('collection', query) # this request breaks
Expected Behavior
Response should be generated by returning neighbours for points [1,2,3,4] and fail for 5.
Context (Environment)
Trying to build a real time vector search api where requests may have ids that havn't been ingested into qdrant and want to handle those requests gracefully.
The text was updated successfully, but these errors were encountered: