Skip to content

Commit 6069576

Browse files
freetonikharshil1712
authored andcommitted
Update metadata-filtering.mdx (#17514)
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.
1 parent 4699dc1 commit 6069576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/vectorize/reference/metadata-filtering.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ Both [namespaces](/vectorize/best-practices/insert-vectors/#namespaces) and meta
6060
#### Explicit operator
6161

6262
```json
63-
{ "someKey": { "$ne": true } }
63+
{ "someKey": { "$ne": "hbo" } }
6464
```
6565

6666
#### Implicit logical `AND` with multiple keys
6767

6868
```json
69-
{ "pandas.nice": 42, "someKey": { "$ne": true } }
69+
{ "pandas.nice": 42, "someKey": { "$ne": "someValue" } }
7070
```
7171

7272
#### Keys define nesting with `.` (dot)

0 commit comments

Comments
 (0)