<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:56:22 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-84929] Review MongoDB Manual Page /manual/reference/operator/projection/elemMatch/</title>
                <link>https://jira.mongodb.org/browse/SERVER-84929</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;To ensure that the documentation remains accurate and up to date, we&apos;re asking a group of engineers and solutions architects to review content from the MongoDB Manual to ensure that the content is accurate, addresses the core consideration of potential users, and presents sensible recommendations.&lt;/p&gt;

&lt;p&gt;This issue addresses the &lt;b&gt;single&lt;/b&gt; page:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.mongodb.org/manual/reference/operator/projection/elemMatch/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/operator/projection/elemMatch/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As you review the documentation, consider four major dimensions:&lt;/p&gt;

&lt;p&gt;1. The correctness and completeness of the content.&lt;/p&gt;

&lt;p&gt;2. The utility of the content for &lt;b&gt;new users&lt;/b&gt; of MongoDB.&lt;/p&gt;

&lt;p&gt;3. The utility of the content for &lt;b&gt;expert users&lt;/b&gt; of MongoDB.&lt;/p&gt;

&lt;p&gt;4. The organization of the page and its focus on the important aspects of the content.&lt;/p&gt;

&lt;p&gt;When you complete your review of the page please fill out the &lt;a href=&quot;https://www.research.net/s/K9QMJVF?c=45cf1dd9a23205d807411552fcb260d7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;documentation audit survey&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you have additional questions or would like to make additional changes, please create a &lt;a href=&quot;https://jira.mongodb.org/secure/CreateIssueDetails!init.jspa?pid=10380&amp;amp;issuetype=4&amp;amp;priority=4&amp;amp;summary=Suggestion+for+%2Fmanual%2Freference%2Foperator%2Fprojection%2FelemMatch%2F&amp;amp;reporter=david.storch&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;DOCS ticket&lt;/a&gt; or leave a comment on this ticket.&lt;/p&gt;

&lt;p&gt;Thank you for your time and effort, and for your help in improving the documentation.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;the docs team&lt;/p&gt;</description>
                <environment></environment>
        <key id="108759">SERVER-84929</key>
            <summary>Review MongoDB Manual Page /manual/reference/operator/projection/elemMatch/</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="david.storch@mongodb.com">David Storch</assignee>
                                    <reporter username="kay.kim@mongodb.com">Kay Kim</reporter>
                        <labels>
                            <label>audit-2014</label>
                            <label>audit-content</label>
                            <label>audit-nav</label>
                    </labels>
                <created>Fri, 31 Jan 2014 16:36:05 +0000</created>
                <updated>Fri, 12 Jan 2024 02:54:59 +0000</updated>
                            <resolved>Tue, 25 Feb 2014 15:55:50 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="491754" author="david.storch" created="Fri, 31 Jan 2014 21:02:32 +0000"  >&lt;p&gt;Overall this page looks really good. I always get confused about $elemMatch, and this is a very clear explanation of what $elemMatch projection is supposed to do.&lt;/p&gt;

&lt;p&gt;That said, the very last part of the page, starting with the quote below, may be misleading.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;When the find() method includes a sort(), the find() method applies the sort() to order the matching documents before it applies the projection.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I think $elemMatch projection is actually orthogonal to .sort() because $elemMatch depends on the ordering of &lt;em&gt;subdocuments within an array&lt;/em&gt; whereas .sort() is about the order in which the top-level documents are returned. Setting a .sort() will change the order in which documents are returned, but it should not affect which array elements are projected through $elemMatch projection. Assuming that I&apos;m not missing something, it seems like we can just delete the part of the page discussing .sort().&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 31 Jan 2014 21:02:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 2 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>kelly.lewis@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 2 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>kay.kim@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrtsan:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrvsun:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>99531</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht3evr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>