Closed
Description
New Feature / Enhancement Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
Current Limitation
Can not use the $search
operator in aggregate pipelines
Feature / Enhancement Description
MongoDB Atlas has a search index for collections. You can find out more here. The way you use your search index is through aggregate. Right now if you add search to your pipeline parse throws an error.
You have to have mongo 4.2 and above and have MongoDB hosted on atlas.
Example Use Case
- Searching people
- Searching posts
etc. (anything that you need to search)
Alternatives / Workarounds
Right now you have to use parse fulltext search which just uses a text index. You do not get fuzzy search and autocomplete