maxDepth

How deep into a document the walk descends.

A bound rather than trust, because a document's nesting is caller-controlled and a sketch pass runs inside compaction. Values below the limit are still counted; only their children are not.