The query to test against the document.