Add support for raw doc query for percolate dsl