I wanted to register a query in the _percolator index, but the
documentation seems outdated.
seems to say, that you can set a Query object as source, but this does
not seem to work anymore for an IndexRequest...
I guess the normal way is to set via a string then to register a