Granted documents query

Hi @mar-ro

Perhaps take a look at this similar post here

In short I suspect you should be using a term query with fields that are of type keyword.

The example in the post about uses an API key but the concept is the same.

And using a filter is good approach as well.