<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:11:27 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-68685] Add new $_internalIndexKey agg expression</title>
                <link>https://jira.mongodb.org/browse/SERVER-68685</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Takes in a document, outputs an array of new objects that have their values converted into their index representation. Any fields in the input document not included in the &quot;key&quot; spec will be stripped in the output. If the index value contains a multikey index entry, then the output array will contain multiple documents, otherwise it will only contain one document. This expression should also be exempted from the 100MB limit.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Field&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;description&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;doc&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;input document&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;spec&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;index key spec (format is similar to createIndex)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</description>
                <environment></environment>
        <key id="2109801">SERVER-68685</key>
            <summary>Add new $_internalIndexKey agg expression</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="13201">Fixed</resolution>
                                        <assignee username="rishab.joshi@mongodb.com">Rishab Joshi</assignee>
                                    <reporter username="randolph@mongodb.com">Randolph Tan</reporter>
                        <labels>
                            <label>query-director-triage</label>
                            <label>query-offsite</label>
                    </labels>
                <created>Tue, 9 Aug 2022 17:35:48 +0000</created>
                <updated>Sun, 29 Oct 2023 21:34:43 +0000</updated>
                            <resolved>Sun, 25 Dec 2022 08:17:43 +0000</resolved>
                                                    <fixVersion>6.3.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="5076262" author="xgen-internal-githook" created="Sun, 25 Dec 2022 03:36:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rishab Joshi&apos;, &apos;email&apos;: &apos;rishab.joshi@mongodb.com&apos;, &apos;username&apos;: &apos;rishvin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-68685&quot; title=&quot;Add new $_internalIndexKey agg expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-68685&quot;&gt;&lt;del&gt;SERVER-68685&lt;/del&gt;&lt;/a&gt; Adds new $_internalIndexKey agg expression.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6e7338e29df42e7119ecfc6916ee791c34cd27ac&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6e7338e29df42e7119ecfc6916ee791c34cd27ac&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5076261" author="xgen-internal-githook" created="Sun, 25 Dec 2022 03:35:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rishab Joshi&apos;, &apos;email&apos;: &apos;rishab.joshi@mongodb.com&apos;, &apos;username&apos;: &apos;rishvin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-68685&quot; title=&quot;Add new $_internalIndexKey agg expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-68685&quot;&gt;&lt;del&gt;SERVER-68685&lt;/del&gt;&lt;/a&gt; Adds new $_internalIndexKey agg expression.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/e92ed23125d958a2f04cdbc9ed6a11394ca470ac&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/e92ed23125d958a2f04cdbc9ed6a11394ca470ac&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4891550" author="arun.banala" created="Mon, 10 Oct 2022 17:41:23 +0000"  >&lt;p&gt;I see! So what you are looking for is more of a &quot;generateIndexKey&quot; expression, rather than reading an existing index key. That makes sense! Then you are right, it wouldn&apos;t fit into the $meta : &quot;indexKey&quot; expression.&lt;/p&gt;</comment>
                            <comment id="4890276" author="max.hirschhorn@10gen.com" created="Mon, 10 Oct 2022 12:44:17 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=arun.banala%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;arun.banala@mongodb.com&quot;&gt;arun.banala@mongodb.com&lt;/a&gt; for the suggestion. I believe the reason we aren&apos;t pursuing a syntax around {$meta: &quot;indexKey&quot;} is mainly because &lt;a href=&quot;https://github.com/mongodb/mongo/blob/a6de755b905f5df9cd7a0c5af56800baabd2c028/src/mongo/db/exec/index_scan.cpp#L253&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the &quot;indexKey&quot; meta field is populated by the IndexScan stage for the currently executing query plan&lt;/a&gt;. The goal of the $&amp;#95;internalIndexKey expression is to use &lt;a href=&quot;https://github.com/mongodb/mongo/blob/a6de755b905f5df9cd7a0c5af56800baabd2c028/src/mongo/db/index/btree_key_generator.h&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the &lt;tt&gt;BtreeKeyGenerator&lt;/tt&gt; class&lt;/a&gt; directly to generate index keys for an explicitly specified index specification independent of the index used by the query plan. Changing the semantics of the {$meta: &quot;indexKey&quot;} seems&#8212;at least to me&#8212;like it&apos;d be more invasive.&lt;/p&gt;</comment>
                            <comment id="4888389" author="arun.banala" created="Sun, 9 Oct 2022 03:44:34 +0000"  >&lt;p&gt;We already have a &lt;tt&gt;$meta: &quot;indexKey&quot;&lt;/tt&gt; which does this, but it&apos;s not very helpful in the presence of multi-key indexes. The current implementation returns only one key per document and ignores the rest of keys. We can extend the syntax to support returning multiple documents for multi-key indexes. A new syntax like &lt;tt&gt;$meta: {type: &quot;indexKey&quot;, options: {...&lt;/tt&gt;}} would make it more extensible.&lt;/p&gt;</comment>
                            <comment id="4862663" author="kyle.suarez" created="Wed, 28 Sep 2022 17:54:41 +0000"  >&lt;p&gt;Flagging for scheduling; it is less urgent for Sharding than &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-68686&quot; title=&quot;Add new $_internalOwningShard agg expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-68686&quot;&gt;&lt;del&gt;SERVER-68686&lt;/del&gt;&lt;/a&gt; but &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=randolph%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;randolph@mongodb.com&quot;&gt;randolph@mongodb.com&lt;/a&gt; would like it to be done within the next 2 months.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="2109813">SERVER-68687</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 28 Sep 2022 17:54:41 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 6 weeks, 4 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2864</customfieldvalue>
                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 6 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>arun.banala@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kyle.suarez@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>randolph@mongodb.com</customfieldvalue>
            <customfieldvalue>rishab.joshi@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i15mun:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0oezs:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5922">QE 2022-12-12</customfieldvalue>
    <customfieldvalue id="5924">QE 2022-12-26</customfieldvalue>
    <customfieldvalue id="5926">QE 2023-01-09</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_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|i158zz:</customfieldvalue>

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