DOCS-2919 maxDistance should be in near doc