'$text search is not supported aws mongodb
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?
Solution 1:[1]
An alternate approach is to integrate an external search technilogy like Apache Lucene or Amazon OpenSearch using change streams to populate the search platform and calling it directly to perform text searches.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | tmcallaghan |
