max Documents
How many documents with hits the result covers, or null for no bound (SPEC.md §4.6): the result ends after the hits of that many documents, in order, and the search reads no further document. withMaxDocuments(1) in SearchOrder.DESCENDING is every hit of the newest document that has one.