Skip to content

Scrolling with Qdrant connector #12852

@lilhoser

Description

@lilhoser

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:

  1. 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 getting GetAsync: System.NotSupportedException: Invalid equality/comparison
  2. 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).
  3. Use SK connector's Search or HybridSearch, 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 working

Type

Projects

Status

Bug

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions