Atlas Search with $geoNear

How to use $search and return the distance between coordinates?

Today we use pipeline aggregate to filter documents with $match and $geoNear to calculate the distance between coordinate points and project it into the search result.

How can we use Atlas Search (with the $search operator) to perform a fuzzy search and return the distance between points similar to what $geoNear returns with “distanceField”?