Files
Abdon Pijpelink cf4119fa3f Add subsection about stable ordering to pagination section (#2463)
* Add 'Stable Ordering' section to 'Pagination' section

* Add FAQ entry

* Small edits to the Pagination section

* Apply title case to all headers on page

* Small edit
2026-06-30 13:07:43 +02:00

21 lines
510 B
C#

using Qdrant.Client;
using static Qdrant.Client.Grpc.Conditions;
public class Snippet
{
public static async Task Run()
{
var client = new QdrantClient("localhost", 6334); // @hide
ulong[] seenIds = [83461, 19284, 57392, 44017, 91825]; // IDs returned on previous pages
// The ! operator negates the condition (must not)
await client.QueryAsync(
collectionName: "{collection_name}",
query: new float[] { 0.2f, 0.1f, 0.9f, 0.7f },
filter: !HasId(seenIds),
limit: 5
);
}
}