From bc9376e293cce4945018b8201f695caadc81f9c7 Mon Sep 17 00:00:00 2001 From: Rakhim Davletkaliyev Date: Mon, 14 Oct 2024 16:46:31 +0300 Subject: [PATCH] Update metadata-filtering.mdx I was a bit confused with the example `{ "$ne": true }`, it seemed like one should put `true` specifically, and then provide the actual value elsewhere. Unless I misunderstood again, perhaps this small change would make it clearer how the operators work. --- src/content/docs/vectorize/reference/metadata-filtering.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/vectorize/reference/metadata-filtering.mdx b/src/content/docs/vectorize/reference/metadata-filtering.mdx index 51e23ef4fff2e8..cd3c47165512e5 100644 --- a/src/content/docs/vectorize/reference/metadata-filtering.mdx +++ b/src/content/docs/vectorize/reference/metadata-filtering.mdx @@ -60,13 +60,13 @@ Both [namespaces](/vectorize/best-practices/insert-vectors/#namespaces) and meta #### Explicit operator ```json -{ "someKey": { "$ne": true } } +{ "someKey": { "$ne": "hbo" } } ``` #### Implicit logical `AND` with multiple keys ```json -{ "pandas.nice": 42, "someKey": { "$ne": true } } +{ "pandas.nice": 42, "someKey": { "$ne": "someValue" } } ``` #### Keys define nesting with `.` (dot)