[DOCS-10800] Comment on: "manual/reference/operator/projection/elemMatch" Created: 15/Sep/17  Updated: 27/Oct/23  Resolved: 02/Oct/17

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

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Irene Smith
Resolution: Works as Designed Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Participants:
Days since reply: 6 years, 19 weeks, 2 days ago

 Description   

The results of the first example should include "ruth".



 Comments   
Comment by Irene Smith [ 02/Oct/17 ]

The existing results shown are correct, and the documentation explains that only the first match in an array is returned.

Comment by Irene Smith [ 02/Oct/17 ]

Actually, the existing text explains that only the first element in the array is returned in each case where there was a match. I don't think this needs changing.

Comment by Irene Smith [ 21/Sep/17 ]

I looked into this issue and the results described are correct. I actually created the collection and ran the query, getting the results shown in this document. When I looked at the description, the return value seemed wrong to me until I ran the query myself.

I think there should be a discussion of why the results are what they are.

Generated at Thu Feb 08 08:01:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.