Issue in counting in atlas search query

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Aggregation pipeline
    • None
    • Not Needed
    • None

      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.

            Assignee:
            Alena Khineika
            Reporter:
            Ankit Saini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: