I want to do a text search based on weightage. So used below mongo query
Query:
db.stores.find( { $text: { $search: ""coffee shop"" } } )
This query works for MongoDB but, aws documentDB is not supporting $text search. Is there any alternate way to do a text search in MongoDB which also supports aws documentDB?