Added support for percolator queries in bulk_index