Match a document against registered percolator queries.