Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10476

Document whether $indexStats is required to be the first pipeline operator

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      Docs for $collStats states:

      $collStats must be the first stage in an aggregation pipeline, or else the pipeline returns an error.

      This is not mentioned for $indexStats, but I gather both operators are similar. If $indexStats has a similar restriction, we should document it.

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 30 weeks ago