fix(docs): correct C# MatchExcept snippet (was using Match instead of MatchExcept) (#2345)

* fix(docs): correct C# MatchExcept snippet to use MatchExcept instead of Match

The C# code example in the match-except filter condition snippet was
incorrectly using Match() instead of MatchExcept(), making it identical
to the match-any example. This is misleading for developers trying to
implement the MatchExcept (NOT IN) filter condition in C#.

Fixes #1656

* Add Markdownified code snippet

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@qdrant.com>
This commit is contained in:
brone1323
2026-05-12 10:26:57 +02:00
committed by GitHub
co-authored by Abdon Pijpelink
parent aca47a9ee7
commit 5aa98e5959
2 changed files with 2 additions and 2 deletions
@@ -4,6 +4,6 @@ public class Snippet
{ {
public static async Task Run() public static async Task Run()
{ {
Match("color", ["black", "yellow"]); MatchExcept("color", ["black", "yellow"]);
} }
} }
@@ -1,5 +1,5 @@
```csharp ```csharp
using static Qdrant.Client.Grpc.Conditions; using static Qdrant.Client.Grpc.Conditions;
Match("color", ["black", "yellow"]); MatchExcept("color", ["black", "yellow"]);
``` ```