<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:49:26 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>[DOCS-5028] Comment on: &quot;about/support.txt&quot;</title>
                <link>https://jira.mongodb.org/browse/DOCS-5028</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;I am practising mongodb in robomongo, I have created document (named &quot;eetusers&quot;) with multiple array objects.&lt;/p&gt;

&lt;p&gt;Here is my document:&lt;br/&gt;
db.eetusers.find()&lt;/p&gt;

&lt;p&gt;&apos;/* 0 */&lt;br/&gt;
{&lt;br/&gt;
   &quot;_id&quot; : ObjectId(&quot;5507c230dea5ce8c8f6a5687&quot;),&lt;br/&gt;
   &quot;name&quot; : &quot;Bharat&quot;,&lt;br/&gt;
   &quot;username&quot; : &quot;pbharatprdxn&quot;,&lt;br/&gt;
   &quot;email&quot; : &quot;bharat@*.com&quot;,&lt;br/&gt;
   &quot;vote_details&quot; : [ &lt;br/&gt;
       {&lt;br/&gt;
           &quot;voter_name&quot; : &quot;atul&quot;,&lt;br/&gt;
           &quot;technical&quot; : &lt;/p&gt;
{
               &quot;upvote&quot; : 4
           }
&lt;p&gt;,&lt;br/&gt;
           &quot;voted_at&quot; : ISODate(&quot;2015-03-17T05:57:04.256Z&quot;)&lt;br/&gt;
       }, &lt;br/&gt;
       {&lt;br/&gt;
           &quot;voter_name&quot; : &quot;manish&quot;,&lt;br/&gt;
           &quot;behaviour&quot; : &lt;/p&gt;
{
               &quot;downvote&quot; : 4
           }
&lt;p&gt;,&lt;br/&gt;
           &quot;voted_at&quot; : ISODate(&quot;2015-03-17T05:57:04.256Z&quot;)&lt;br/&gt;
       }&lt;br/&gt;
   ],&lt;br/&gt;
   &quot;total_upvotes&quot; : 4,&lt;br/&gt;
   &quot;total_downvotes&quot; : 4&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;/* 1 */&lt;br/&gt;
{&lt;br/&gt;
   &quot;_id&quot; : ObjectId(&quot;5507c343dea5ce8c8f6a5688&quot;),&lt;br/&gt;
   &quot;name&quot; : &quot;Atul&quot;,&lt;br/&gt;
   &quot;username&quot; : &quot;natulprdxn&quot;,&lt;br/&gt;
   &quot;email&quot; : &quot;atul@*.com&quot;,&lt;br/&gt;
   &quot;vote_details&quot; : [ &lt;br/&gt;
       {&lt;br/&gt;
           &quot;voter_name&quot; : &quot;bharat&quot;,&lt;br/&gt;
           &quot;technical&quot; : &lt;/p&gt;
{
               &quot;upvote&quot; : 5
           }
&lt;p&gt;,&lt;br/&gt;
           &quot;voted_at&quot; : ISODate(&quot;2015-03-17T06:01:39.845Z&quot;)&lt;br/&gt;
       }, &lt;br/&gt;
       {&lt;br/&gt;
           &quot;voter_name&quot; : &quot;manish&quot;,&lt;br/&gt;
           &quot;behaviour&quot; : &lt;/p&gt;
{
               &quot;downvote&quot; : 3
           }
&lt;p&gt;,&lt;br/&gt;
           &quot;voted_at&quot; : ISODate(&quot;2015-03-17T06:01:39.845Z&quot;)&lt;br/&gt;
       }&lt;br/&gt;
   ],&lt;br/&gt;
   &quot;total_upvotes&quot; : 5,&lt;br/&gt;
   &quot;total_downvotes&quot; : 3&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;/* 2 */&lt;br/&gt;
{&lt;br/&gt;
   &quot;_id&quot; : ObjectId(&quot;5507c35cdea5ce8c8f6a5689&quot;),&lt;br/&gt;
   &quot;name&quot; : &quot;Manish&quot;,&lt;br/&gt;
   &quot;username&quot; : &quot;kmanishprdxn&quot;,&lt;br/&gt;
   &quot;email&quot; : &quot;manish@*.com&quot;,&lt;br/&gt;
   &quot;vote_details&quot; : [ &lt;br/&gt;
       {&lt;br/&gt;
           &quot;voter_name&quot; : &quot;bharat&quot;,&lt;br/&gt;
           &quot;technical&quot; : &lt;/p&gt;
{
               &quot;upvote&quot; : 5
           }
&lt;p&gt;,&lt;br/&gt;
           &quot;voted_at&quot; : ISODate(&quot;2015-03-17T06:02:04.569Z&quot;)&lt;br/&gt;
       }, &lt;br/&gt;
       {&lt;br/&gt;
           &quot;voter_name&quot; : &quot;atul&quot;,&lt;br/&gt;
           &quot;behaviour&quot; : &lt;/p&gt;
{
               &quot;upvote&quot; : 3
           }
&lt;p&gt;,&lt;br/&gt;
           &quot;voted_at&quot; : ISODate(&quot;2015-03-17T06:02:04.569Z&quot;)&lt;br/&gt;
       }&lt;br/&gt;
   ],&lt;br/&gt;
   &quot;total_upvotes&quot; : 8&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;Now, I need to find all the objects in the document satisfying some condition, for that I used the following query:&lt;/p&gt;

&lt;p&gt;db.eetusers.find(&lt;br/&gt;
   //Criteria&lt;/p&gt;

&lt;p&gt;   &lt;/p&gt;
{
       name: &apos;Parag&apos;,
       &apos;vote_details.voter_name&apos;: &apos;manish&apos;}
&lt;p&gt;,&lt;br/&gt;
    {&lt;br/&gt;
        vote_details:&lt;br/&gt;
       {  &lt;br/&gt;
           $elemMatch : &lt;/p&gt;
{ 
                voter_name: &apos;manish&apos;
              }
&lt;p&gt;   &lt;br/&gt;
       }&lt;br/&gt;
   }&lt;br/&gt;
)&lt;/p&gt;

&lt;p&gt;but the problem is I am getting only the first object occurence i.e&lt;/p&gt;

&lt;p&gt;/* 0 */&lt;br/&gt;
{&lt;br/&gt;
   &quot;_id&quot; : ObjectId(&quot;5507e544dea5ce8c8f6a568a&quot;),&lt;br/&gt;
   &quot;vote_details&quot; : [ &lt;br/&gt;
       {&lt;br/&gt;
           &quot;voter_name&quot; : &quot;manish&quot;,&lt;br/&gt;
           &quot;behaviour&quot; : &lt;/p&gt;
{
               &quot;downvotes&quot; : 4
           }
&lt;p&gt;,&lt;br/&gt;
           &quot;voted_at&quot; : ISODate(&quot;2015-04-17T18:30:00.000Z&quot;)&lt;br/&gt;
       }&lt;br/&gt;
   ]&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;I want all the occurences of &quot;manish&quot;, so can you suggest the proper query to get the desired result?&lt;/p&gt;</description>
                <environment>ubuntu&lt;br/&gt;
&lt;br/&gt;
*Location*: &lt;a href=&quot;http://www.mongodb.org/about/support/&quot;&gt;http://www.mongodb.org/about/support/&lt;/a&gt;&lt;br/&gt;
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36&lt;br/&gt;
*Referrer*: &lt;a href=&quot;https://www.google.co.in/&quot;&gt;https://www.google.co.in/&lt;/a&gt;&lt;br/&gt;
*Screen Resolution*: 1366 x 768&lt;br/&gt;
*repo*: mongodb-www-about&lt;br/&gt;
*source*: support&lt;br/&gt;
</environment>
        <key id="190101">DOCS-5028</key>
            <summary>Comment on: &quot;about/support.txt&quot;</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="4">Incomplete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="xgen-internal-docs">Docs Collector User</reporter>
                        <labels>
                            <label>collector-298ba4e7</label>
                    </labels>
                <created>Tue, 17 Mar 2015 13:39:25 +0000</created>
                <updated>Fri, 3 Nov 2017 11:20:55 +0000</updated>
                            <resolved>Tue, 17 Mar 2015 14:54:24 +0000</resolved>
                                                    <fixVersion>01112017-cleanup</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1338435" author="emily.hall" created="Wed, 27 Jul 2016 19:10:20 +0000"  >&lt;p&gt;Closed for housekeeping on 7/27/2016 by Emily Hall. &lt;br/&gt;
If you require additional support, please open a new ticket for prioritization. &lt;br/&gt;
Thanks,&lt;br/&gt;
Emily&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>Wed, 18 May 2016 18:53:06 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 29 weeks 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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 29 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-docs</customfieldvalue>
            <customfieldvalue>emily.hall</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrqgv3:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrz7e7:</customfieldvalue>

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