Hey there everyone!
I am trying to implement some ACL filter into my search queries and
the simplest way to do that seems to be a filtered query with a script
All my documents have a
forum_pk field with the ID and I collect all
forum ids a user has access to. To filter out forums a user does not
has access to I came up with this: https://gist.github.com/1145266
The problem is that this now filters all documents and none is
returned, but there are documents with a forum_pk different then the
missing 8. In this query only forums with ID 8 should be filtered
I use the mvel scripting interface, but also tried python with no
What am I doing wrong?