How to do top level filtering *only*? #3464
-
When doing resource embedding, I would like to apply a top level filter, without filtering out the embedded resources. I think this is best explained with an example: In the example on top level filtering here, it is suggested that in order to get all films with actor |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I had this use-case repeatedly, too. For now, you will need to add two embeddings: One to use in your result, one to filter on. It would be good if we had some kind of |
Beta Was this translation helpful? Give feedback.
I had this use-case repeatedly, too. For now, you will need to add two embeddings: One to use in your result, one to filter on.
It would be good if we had some kind of
exists
operator or so, which could look into embeddings to do top-level filtering. Now idea how a syntax or query would look like, though.