Hi, we have a bunch of content which is fully tagged. What I would like to do is use the predicate.not('document.tags', [excludeTags]) query to exclude documents returned which contain any of those tags.
Is that possible? It seems like it should work by default? But it seems like it's expecting the entire tag list to not match (and I don't know the entire tag list)
Overridden completely, even if there is no overlap of tags
Only applies to documents where all tags in the excludeTags match, so only will exclude documents containing all of the excludeTags rather than at least 1.
So basically, question remains, is there a "notAny" type predicate? Or is my best bet to post process the data with my exclude list?...That will break things like pagination for example so it's a little bit awkward but may be doable
For anyone that stumbles onto this, a workaround for the functionality I requested, is to create a predicate.not for each tag you don't want included! For example: