[DOCS-6592] Possible error in example dataset used by Getting Started: { cuisine: "American " } Created: 13/Nov/15  Updated: 11/Jan/17  Resolved: 15/Dec/16

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

Type: Task Priority: Major - P3
Reporter: Stennie Steneker (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents DOCS-7877 Comment on: "primer/query.txt" Closed
Participants:
Days since reply: 7 years, 9 weeks ago

 Description   

The Getting Started tutorial (https://docs.mongodb.org/getting-started/shell/import-data/) links to a JSON restaurant dataset: https://raw.githubusercontent.com/mongodb/docs-assets/primer-dataset/dataset.json.

In the JSON, the cuisine field value "American" has a trailing space ("American "). Any searches for "cuisine" : "American" will not match unless a $regex or $text index is used.



 Comments   
Comment by Kay Kim (Inactive) [ 15/Dec/16 ]

Updated

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