[DOCS-5953] Comment on: "primer/indexes.txt" Created: 02/Aug/15  Updated: 03/Nov/17  Resolved: 03/Aug/15

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:

n/a

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


Participants:
Days since reply: 8 years, 28 weeks, 2 days ago

 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.



 Comments   
Comment by Kay Kim (Inactive) [ 03/Aug/15 ]

updated description.

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