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

Comment on: "primer/indexes.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      The description for "Create compound index" does not match the sample code.

      According to the description, the code is suppose to index by descending "address.zipcode" values, but the sample code uses Ascending().

      If the intent is descending then change the sample code to use Descending() and adjust the assertion to compare to "cuisine_1_address.zipcode_-1", otherwise change the description to ascending.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 28 weeks, 2 days ago