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

Add a complex index array with embedded documents example to demonstrate query and sort functionalities

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • mongodb-2.6, mongodb-3.0
    • Affects Version/s: mongodb-2.6
    • Component/s: manual
    • Labels:
      None

      Here is the link
      http://docs.mongodb.org/manual/core/index-multikey/#index-arrays-with-embedded-documents.
      Index arrays with embedded documents are a non-trivial topic. The example provided on the doc page is too simplistic; it contains only one embedded document attribute. A more complex example may better demonstrate the full functionality of the feature. For example, include 2 or 3 embedded fields instead of 1. Also, it would be more informative to have a sorting example and show different sort order by different indexes.

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            sherry.ger@10gen.com Sherry Ger
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 2 weeks, 2 days ago