-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I am trying to use the SK qdrant connector to pull all points in a collection, but I've not had any success. I understand that Qdrant is not well suited for keyword searches, and that it's built for vector searches. But for the sake of argument, let's assume "get all the records" is a necessary thing to do. I see only 3 ways to do it:
- Call
Collection.GetAsync
with a filter that always returns true - I simply cannot get this to work. I'm using a very simple linq expression "_ => true" and keep gettingGetAsync: System.NotSupportedException: Invalid equality/comparison
- Bypass the connector entirely and use the qdrant client to call
ScrollAsync
- well that's fine and works, but then I have no convenient way to map returned qdrant point data to my record (all the SK mappers are marked internal/private). - Use SK connector's
Search
orHybridSearch
, but both of these require either a vector or a search value that is translated to a vector via embeddings. There is no way to pass a "neutral vector", as neither prototype accepts a vector directly.
My understanding is qdrant added scrolling to support this corner case of "get all the records" as it was a legitimate feature, but I'm not seeing how to accomplish it in SK.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Bug