change syntax for querying all documents in V2 processor