As of SERVER-45927, $search will become an alias for $searchBeta and is used everywhere except internally when communicating with a mongot, where searchBeta is still used. Replace this usage of the "searchBeta" mongot command with the "search" mongot command.