Problem Statement/Rationale
I am trying to use count in atlas search query as described in documentation. But in $project stage when i use $$SEARCH_META variable it throws me an error "Must enable 'enableSearchMeta' server parameter to use $searchMeta or $$SEARCH_META variable". I can't found any documentation explaining this issue.
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
Expected Results
What do you expect to happen?
Actual Results
What do you observe is happening?
Additional Notes
Any additional information that may be useful to include.
|