Field MaximumRankedDepth
- Namespace
- MailFathom.Application.Emails.BrowseSearch
- Assembly
- MailFathom.Application.dll
How many ranked results paging can reach before the list ends.
public const int MaximumRankedDepth = 200
Returns
- int
- How many ranked results paging can reach before the list ends.
Remarks
The depth is fixed rather than grown as a caller pages, because a fused order is computed from where each ranking placed a message and therefore changes with how deep each ranking reached. A list re-ranked to a greater depth for a later page would be a different list, and the cursor a client was holding would name a place in the one it no longer receives — rows repeated at one boundary and skipped at the next. One depth for every page is what makes the sequence one sequence.
Two hundred is what the MCP search already pays for its deepest window: fifty results ranked four candidates deep per side. So a page of this list costs what that surface's worst case costs, and costs it once per page rather than more the further somebody has paged. It is also a bound on how much of a mailbox one query can walk out of the deployment — a caller who has read two hundred results without finding what they wanted narrows the filters, which is the thing that would have found it sooner anyway.