<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:53:07 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-131] optimize multiple sub-object selectors</title>
                <link>https://jira.mongodb.org/browse/SERVER-131</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>
&lt;p&gt;&amp;gt; db.find5.find()&lt;br/&gt;
{&quot;_id&quot; : &quot;4a4d6db199b25e6fee7649f9&quot; , &quot;a&quot; : 1 , &quot;b&quot; : {&quot;c&quot; : 2 , &quot;d&quot; : 3 , &quot;e&quot; : 4}}&lt;br/&gt;
&amp;gt; db.find5.find( {} , &lt;/p&gt;
{ &quot;b.c&quot; : 1}
&lt;p&gt; )&lt;br/&gt;
{&quot;_id&quot; : &quot;4a4d6db199b25e6fee7649f9&quot; , &quot;b&quot; : {&quot;c&quot; : 2}}&lt;br/&gt;
&amp;gt; db.find5.find( {} , &lt;/p&gt;
{ &quot;b.c&quot; : 1 , &quot;b.d&quot; : 1 }
&lt;p&gt; )&lt;br/&gt;
{&quot;_id&quot; : &quot;4a4d6db199b25e6fee7649f9&quot; , &quot;b&quot; : {&quot;c&quot; : 2 , &quot;d&quot; : 3 , &quot;e&quot; : 4}} &lt;/p&gt;</description>
                <environment></environment>
        <key id="10259">SERVER-131</key>
            <summary>optimize multiple sub-object selectors</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="eliot">Eliot Horowitz</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Jul 2009 12:46:30 +0000</created>
                <updated>Thu, 2 Aug 2018 21:23:37 +0000</updated>
                            <resolved>Fri, 14 Aug 2009 15:37:13 +0000</resolved>
                                    <version>0.9.6</version>
                                    <fixVersion>0.9.9</fixVersion>
                                    <component>Usability</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="10677" author="eliot" created="Thu, 10 Sep 2009 10:03:07 +0000"  >&lt;p&gt;closed b/c resolved more than 2 week ago&lt;/p&gt;</comment>
                            <comment id="10430" author="eliot" created="Fri, 14 Aug 2009 15:37:13 +0000"  >&lt;p&gt;thanks mike!&lt;/p&gt;</comment>
                            <comment id="10427" author="mikejs" created="Fri, 14 Aug 2009 14:48:27 +0000"  >&lt;p&gt;I&apos;ve taken a stab at fixing it such that&lt;/p&gt;

&lt;p&gt;&amp;gt; db.find5.find({}, &lt;/p&gt;
{&quot;b.c&quot;: 1 , &quot;b.d&quot;: 1}
&lt;p&gt;)&lt;br/&gt;
{&quot;_id&quot; : &quot;4a4d6db199b25e6fee7649f9&quot; , &quot;b&quot; : {&quot;c&quot; : 2 , &quot;d&quot; : 3 }} &lt;/p&gt;

&lt;p&gt;see &lt;a href=&quot;http://github.com/mikejs/mongo/commit/a5017ab566fde2e4062affb33d631bf8eea1425a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mikejs/mongo/commit/a5017ab566fde2e4062affb33d631bf8eea1425a&lt;/a&gt;&lt;/p&gt;
</comment>
                            <comment id="10351" author="eliot" created="Sun, 2 Aug 2009 08:59:40 +0000"  >&lt;p&gt;the last one is what its doing now.&lt;/p&gt;

&lt;p&gt;you&apos;re understanding is correct, though most of this already works, the code is just a bit lazy at the moment.&lt;/p&gt;

&lt;p&gt;the code is in db/queryutil.cpp and is FieldMatcher: &lt;a href=&quot;http://github.com/mongodb/mongo/blob/master/db/queryutil.h#L161&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/blob/master/db/queryutil.h#L161&lt;/a&gt;&lt;/p&gt;
</comment>
                            <comment id="10349" author="syalovit" created="Sat, 1 Aug 2009 23:21:05 +0000"  >&lt;p&gt;shouldnt the last one be:&lt;br/&gt;
db.find5.find( {} , &lt;/p&gt;
{ &quot;b.c&quot; : 1 , &quot;b.d&quot; : 1 }
&lt;p&gt; )&lt;br/&gt;
{&quot;_id&quot; : &quot;4a4d6db199b25e6fee7649f9&quot; , &quot;b&quot; : {&quot;c&quot; : 2 , &quot;d&quot; : 3 }}  &lt;/p&gt;

&lt;p&gt;if I understand this correctly, this is a server side filtration of results, we want to be able to:&lt;br/&gt;
1) default get all&lt;br/&gt;
2) +subattr1,+subattr2, +subattr3&lt;br/&gt;
3) -subattr1, -subattr2, -subattr3&lt;/p&gt;

&lt;p&gt;The above notation is a bit hard to understand, can you add more details... &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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 1 Aug 2009 23:21:05 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            14 years, 23 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>mikejs</customfieldvalue>
            <customfieldvalue>syalovit</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpxov:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>41935</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|ht0lnb:</customfieldvalue>

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