<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:18:20 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-48888] Support index intersection with one or more wildcard indexes</title>
                <link>https://jira.mongodb.org/browse/SERVER-48888</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;ul&gt;
	&lt;li&gt;Allow for a single wildcard index or multiple wildcard indexes to be used concurrently when multiple covered fields are use in a query&lt;/li&gt;
	&lt;li&gt;Allow more than 2 indexes to be used at the same time (3,4,N?), including reuse of the same wildcard but on different fields, concurrently&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1381305">SERVER-48888</key>
            <summary>Support index intersection with one or more wildcard indexes</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-optimization">Backlog - Query Optimization</assignee>
                                    <reporter username="chad@onspring.com">Chad Kreimendahl</reporter>
                        <labels>
                            <label>qopt-team</label>
                    </labels>
                <created>Tue, 16 Jun 2020 03:44:51 +0000</created>
                <updated>Tue, 6 Dec 2022 02:22:12 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="3227998" author="asya" created="Mon, 29 Jun 2020 13:58:19 +0000"  >&lt;p&gt;Renamed and reassigned back to Query team.&lt;/p&gt;
</comment>
                            <comment id="3227988" author="david.storch" created="Mon, 29 Jun 2020 13:54:11 +0000"  >&lt;p&gt;Should we change the title of this ticket to something like &quot;Support index intersection plans involving wildcard indexes&quot;?&lt;/p&gt;</comment>
                            <comment id="3226591" author="asya" created="Fri, 26 Jun 2020 22:13:20 +0000"  >&lt;p&gt;&amp;gt; Right. We basically need a non-sparse wildcard index, because we do often ask if it&apos;s null (or not).&lt;/p&gt;

&lt;p&gt;Sparse indexes will be used for any query of the form &lt;tt&gt;$ne:null&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m going to remove that part from this ticket as it&apos;s not related to the other points.&lt;/p&gt;</comment>
                            <comment id="3226430" author="JIRAUSER1269871" created="Fri, 26 Jun 2020 20:41:01 +0000"  >&lt;p&gt;Right. We basically need a non-sparse wildcard index, because we do often ask if it&apos;s null (or not).&lt;/p&gt;</comment>
                            <comment id="3226377" author="asya" created="Fri, 26 Jun 2020 20:05:31 +0000"  >&lt;p&gt;If you could point me to documentation saying that, I can get it fixed.  It should only say that sparse indexes cannot be used for &lt;b&gt;equality&lt;/b&gt; with null.&lt;/p&gt;</comment>
                            <comment id="3226247" author="JIRAUSER1269871" created="Fri, 26 Jun 2020 18:43:29 +0000"  >&lt;p&gt;According to the documentation, you can&apos;t use the index for the above 3 scenarios. So either documentation should be updated (yay?) or we hope code?&lt;/p&gt;</comment>
                            <comment id="3225175" author="asya" created="Fri, 26 Jun 2020 05:08:16 +0000"  >&lt;p&gt;That doesn&#8217;t preclude them from being used for queries where the predicate is not equal null.  I did check that before replying and it does work so I&#8217;m not sure what the request is for. &lt;/p&gt;</comment>
                            <comment id="3220659" author="JIRAUSER1269871" created="Tue, 23 Jun 2020 21:18:40 +0000"  >&lt;p&gt;From :&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/core/index-wildcard/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/core/index-wildcard/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&quot;Wildcard indexes are&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/core/index-sparse/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Sparse Indexes&lt;/a&gt;&#160;and only contain entries for documents that have the indexed field, even if the index field contains a null value.&quot;&lt;/p&gt;</comment>
                            <comment id="3220284" author="asya" created="Tue, 23 Jun 2020 18:24:05 +0000"  >&lt;p&gt;&amp;gt; Support field not equal to null&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=chad%40onspring.com&quot; class=&quot;user-hover&quot; rel=&quot;chad@onspring.com&quot;&gt;chad@onspring.com&lt;/a&gt; I&apos;m not sure what this refers to.   Field not equal to null is supported by all indexes including wildcard indexes.  Can you clarify?&lt;/p&gt;

&lt;p&gt;The other two requests look like they are asking for better support for index intersection (including for wildcard indexes)?  &lt;/p&gt;</comment>
                            <comment id="3210696" author="carl.champain" created="Tue, 16 Jun 2020 20:09:28 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=chad%40onspring.com&quot; class=&quot;user-hover&quot; rel=&quot;chad@onspring.com&quot;&gt;chad@onspring.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for the report.&lt;br/&gt;
We&apos;re passing this ticket along to the appropriate team for further review. Updates will be posted on this ticket as they happen.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Carl&lt;br/&gt;
&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <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>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25126"><![CDATA[Query Optimization]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 16 Jun 2020 20:09:28 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 32 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-query-optimization</customfieldvalue>
            <customfieldvalue>carl.champain@mongodb.com</customfieldvalue>
            <customfieldvalue>chad@onspring.com</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxq1mf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2hr3:</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_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|hxpnvr:</customfieldvalue>

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