<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:57:05 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-8848] Comment on: &quot;manual/core/index-partial.txt&quot;</title>
                <link>https://jira.mongodb.org/browse/DOCS-8848</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;DocumentationChanges&quot;&gt;&lt;/a&gt;Documentation Changes&lt;/h2&gt;
&lt;p&gt;The documentation is correct as written. However, we may want to clarify WHY the second query cannot use the index to prevent future confusion like this.&lt;/p&gt;

&lt;h2&gt;&lt;a name=&quot;Description&quot;&gt;&lt;/a&gt;Description&lt;/h2&gt;
&lt;p&gt;Are these two examples out of order? I may misunderstand how the index works.&lt;/p&gt;

&lt;p&gt;From the page:&lt;/p&gt;

&lt;p&gt;For example, the following query can use the index:&lt;br/&gt;
db.contacts.find( { name: &quot;xyz&quot;, email: &lt;/p&gt;
{ $regex: /\.org$/ }
&lt;p&gt; } )&lt;/p&gt;

&lt;p&gt;However, the following query cannot use the index:&lt;br/&gt;
db.contacts.find( { name: &quot;xyz&quot;, email: &lt;/p&gt;
{ $exists: false }
&lt;p&gt; } )&lt;/p&gt;


&lt;p&gt;I would have thought this should be the order:&lt;/p&gt;

&lt;p&gt;For example, the following query can use the index:&lt;br/&gt;
db.contacts.find( { name: &quot;xyz&quot;, email: &lt;/p&gt;
{ $exists: false }
&lt;p&gt; } )&lt;/p&gt;

&lt;p&gt;However, the following query cannot use the index:&lt;br/&gt;
db.contacts.find( { name: &quot;xyz&quot;, email: &lt;/p&gt;
{ $regex: /\.org$/ }
&lt;p&gt; } )&lt;/p&gt;</description>
                <environment>&lt;br/&gt;
&lt;br/&gt;
*Location*: &lt;a href=&quot;https://docs.mongodb.com/manual/core/index-partial/&quot;&gt;https://docs.mongodb.com/manual/core/index-partial/&lt;/a&gt;&lt;br/&gt;
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36&lt;br/&gt;
*Referrer*: &lt;a href=&quot;https://docs.mongodb.com/manual/indexes/&quot;&gt;https://docs.mongodb.com/manual/indexes/&lt;/a&gt;&lt;br/&gt;
*Screen Resolution*: 2560 x 1440&lt;br/&gt;
</environment>
        <key id="318089">DOCS-8848</key>
            <summary>Comment on: &quot;manual/core/index-partial.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="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="jeffrey.allen@mongodb.com">Jeffrey Allen</assignee>
                                    <reporter username="xgen-internal-docs">Docs Collector User</reporter>
                        <labels>
                            <label>collector-298ba4e7</label>
                    </labels>
                <created>Thu, 22 Sep 2016 14:51:18 +0000</created>
                <updated>Fri, 23 Feb 2018 17:00:57 +0000</updated>
                            <resolved>Thu, 15 Feb 2018 20:59:06 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1814421" author="xgen-internal-githook" created="Fri, 23 Feb 2018 16:59:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeffrey.allen@10gen.com&apos;, &apos;name&apos;: &apos;jeff-allen-mongo&apos;, &apos;username&apos;: &apos;jeff-allen-mongo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-8848&quot; title=&quot;Comment on: &amp;quot;manual/core/index-partial.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-8848&quot;&gt;&lt;del&gt;DOCS-8848&lt;/del&gt;&lt;/a&gt; - Updating partial index example&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/32a118983e081b2dc2031b72a27e6178a77f9469&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/32a118983e081b2dc2031b72a27e6178a77f9469&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1814405" author="xgen-internal-githook" created="Fri, 23 Feb 2018 16:52:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeffrey.allen@10gen.com&apos;, &apos;name&apos;: &apos;jeff-allen-mongo&apos;, &apos;username&apos;: &apos;jeff-allen-mongo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-8848&quot; title=&quot;Comment on: &amp;quot;manual/core/index-partial.txt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-8848&quot;&gt;&lt;del&gt;DOCS-8848&lt;/del&gt;&lt;/a&gt; - Updating partial index example&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/1741e888f4ffc626ddb0382d2aa6f2562b136c74&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/1741e888f4ffc626ddb0382d2aa6f2562b136c74&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1807365" author="jeffrey.allen" created="Thu, 15 Feb 2018 20:59:06 +0000"  >&lt;p&gt;This is RFM: &lt;a href=&quot;https://github.com/mongodb/docs/pull/3236&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/pull/3236&lt;/a&gt;&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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 22 Sep 2016 15:48:25 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 50 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-docs</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jeffrey.allen@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmhxr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrcwq7:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1324">KANBAN BUCKET</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.25</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|hrzbq7:</customfieldvalue>

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