[DOCS-5753] Comment on: "primer/indexes.txt" Created: 30/Jun/15  Updated: 03/Nov/17  Resolved: 29/Mar/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.org/getting-started/java/indexes/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.125 Safari/537.36 OPR/30.0.1835.88
Referrer: https://docs.mongodb.org/getting-started/java/aggregation/
Screen Resolution: 1920 x 1080
repo: docs
source: indexes


Participants:
Days since reply: 7 years, 46 weeks, 1 day ago

 Description   

In "Creating a compound index" this snipped

db.getCollection("restaurants").createIndex(new Document("cuisine", 1).append("address.zipcode", 1));

will create both parts in ascending order and not one ascending and the other descending.



 Comments   
Comment by Kay Kim (Inactive) [ 29/Mar/16 ]

forgot to close this earlier

Comment by Githook User [ 01/Jul/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Fix IndexesPrimer.java index order

DOCS-5753
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/4d21d9299b89c4e7eb0ee6628b38102cd64a43df

Comment by Githook User [ 01/Jul/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Fix IndexesPrimer.java index order

DOCS-5753
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/db3b40f57f483954976624f84b70fb27ffe2783a

Generated at Thu Feb 08 07:50:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.