You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn/filtering_and_sorting/filter_expression_reference.mdx
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,19 @@ release_date NOT EXISTS
108
108
NOT release_date EXISTS
109
109
```
110
110
111
+
#### Vector filters
112
+
113
+
When using AI-powered search, you may also use `EXISTS` to filter documents containing vector data:
114
+
115
+
-`_vectors EXISTS`: matches all documents with an embedding
116
+
-`_vectors.{embedder_name} EXISTS`: matches all documents with an embedding for the given embedder
117
+
-`_vectors.{embedder_name}.userProvided EXISTS`: matches all documents with a user-provided embedding on the given embedder
118
+
-`_vectors.{embedder_name}.documentTemplate EXISTS`: matches all documents with an embedding generated from a document template. Excludes user-provided embeddings
119
+
-`_vectors.{embedder_name}.regenerate EXISTS`: matches all documents with an embedding scheduled for regeneration
120
+
-`_vectors.{embedder_name}.fragments.{fragment_name} EXISTS`: matches all documents with an embedding generated from the given multimodal fragment. Excludes user-provided embeddings
121
+
122
+
`_vectors` is only compatible with the `EXISTS` operator.
123
+
111
124
### `IS EMPTY`
112
125
113
126
The `IS EMPTY` operator selects documents in which the specified attribute exists but contains empty values. The following expression only returns documents with an empty `overview` field:
0 commit comments