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

Ambiguous sentences on Single Field Indexes page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.3.3
    • Component/s: manual
    • Labels:
    • # Replies:
      2
    • Last comment by Customer:
      true
    • Actual Time:
      4

      Description

      There are two sentences on http://docs.mongodb.org/manual/core/index-single/ that could use clarification or rewording:

      1 - "MongoDB supports indexes that contain either a single field or multiple fields depending on the operations that index supports."

      --> This sentence is a bit unclear because it's using 'index' to refer to index types and individual indexes. Perhaps it should say 'depending on the operations that index type supports' or something similar?

      2 - "Think of the _id field as the primary key for a collection. Every document must have a unique _id field. You may store any unique value in the _id field. The default value of _id is an ObjectID on every insert() operation. An ObjectId is a 12-byte unique identifiers suitable for use as the value of an _id field."

      --> This sentence is hard to parse. It's also a bit misleading because save() can automatically generate an ObjectId, as well.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                5 years, 48 weeks, 5 days ago
                Date of 1st Reply: