Skip to content

Commit dcb8419

Browse files
committed
Replace operator null to exists
1 parent 7cf7355 commit dcb8419

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/vectorstore.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@
235235
"\n",
236236
"The vectorstore supports a set of filters that can be applied against the metadata fields of the documents.\n",
237237
"\n",
238-
"| Operator | Meaning/Category |\n",
239-
"|----------|-------------------------|\n",
238+
"| Operator | Meaning/Category |\n",
239+
"|-----------|-------------------------|\n",
240240
"| \\$eq | Equality (==) |\n",
241241
"| \\$ne | Inequality (!=) |\n",
242242
"| \\$lt | Less than (<) |\n",
@@ -246,7 +246,7 @@
246246
"| \\$in | Special Cased (in) |\n",
247247
"| \\$nin | Special Cased (not in) |\n",
248248
"| \\$between | Special Cased (between) |\n",
249-
"| \\$null | Special Cased (is null) |\n",
249+
"| \\$exists | Special Cased (is null) |\n",
250250
"| \\$like | Text (like) |\n",
251251
"| \\$ilike | Text (case-insensitive like) |\n",
252252
"| \\$and | Logical (and) |\n",

tests/unit_tests/fixtures/filtering_test_cases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
]
225225

226226
TYPE_6_FILTERING_TEST_CASES = [
227-
# These involve the special operator $null
227+
# These involve the special operator $exists
228228
(
229229
{"happiness": {"$exists": True}},
230230
[],

0 commit comments

Comments
 (0)