Filtering queries while percolating

We need to use optional "query" parameter when we want to filter executed queries while we percolate (more in the elasticsearch quide) - it was in a todo list.