This is a perfect candidate for the techniques/technology detailed in my article MongoDB Text Search: Substring Pattern Matching Including Regex and Wildcard, Use Search Instead (Part 3) - we have just recently released (formerly only Atlas) Search and Vector Search into Community and available also for Enterprise. You can control the indexing and querying in very precise and scalable ways.