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

[SERVER] $out documentation doesn't reference deletion of Atlas Search index

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 5.2.1
    • manual, Server
    • None

    Description

      On the documentation page for $out (https://docs.mongodb.com/manual/reference/operator/aggregation/out/) there is no warning that running the stage on a collection with an existing Atlas Search index will delete it. Under the "Replace Existing Collection" section there is a potentially misleading statement: "The $out operation does not change any indexes that existed on the previous collection."

      There are a few sections on the $out page that could warn users against using $out and using $merge instead where Atlas Search indexes are involved. These are "Comparison to $merge", "Replace Existing Collection", "Index Constraints", and "Restrictions".

      Compare https://docs.atlas.mongodb.com/atlas-search/index-definitions/ where the impact of $out is highlighted near the top of the page.

      Attachments

        Activity

          People

            dave.cuthbert@mongodb.com Dave Cuthbert
            peter.fitch@mongodb.com Peter Fitch
            Dave Cuthbert Dave Cuthbert
            Peter Fitch
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              16 weeks, 4 days ago