Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5291

Issue in counting in atlas search query

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • No version
    • None
    • Aggregation pipeline
    • None
    • Not Needed

    Description

      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.

      Attachments

        Activity

          People

            alena.khineika@mongodb.com Alena Khineika
            tech@shopmebook.com Ankit Saini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: