<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:57:34 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-21511] Improve shard targeting for $text queries</title>
                <link>https://jira.mongodb.org/browse/SERVER-21511</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently, sharded $text queries almost always target all shards (i.e. scatter-gather), even if they are AND-related to a simple range scan on the shard key.  Instead, $text queries should be targeted using the normal query targeting logic.  Special-casing $text queries was previously necessary when planning $text queries on mongos was not allowed, but this restriction was relaxed in the implementation of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19510&quot; title=&quot;Text query parsing should be moved to TextMatchExpression::init()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19510&quot;&gt;&lt;del&gt;SERVER-19510&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The query planner &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r3.3.6/src/mongo/db/query/query_planner.cpp#L715&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;still cannot generate&lt;/a&gt; a plan for $text queries without a text index.&lt;/p&gt;</description>
                <environment></environment>
        <key id="239898">SERVER-21511</key>
            <summary>Improve shard targeting for $text queries</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-integration">Backlog - Query Integration</assignee>
                                    <reporter username="rassi">J Rassi</reporter>
                        <labels>
                            <label>qi-text-search</label>
                    </labels>
                <created>Tue, 17 Nov 2015 21:31:30 +0000</created>
                <updated>Thu, 28 Dec 2023 18:26:46 +0000</updated>
                                                                            <component>Querying</component>
                    <component>Sharding</component>
                                        <votes>2</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1285025" author="xgen-internal-githook" created="Mon, 6 Jun 2016 14:43:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;dhatch&apos;, u&apos;name&apos;: u&apos;David Hatch&apos;, u&apos;email&apos;: u&apos;david.hatch@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21511&quot; title=&quot;Improve shard targeting for $text queries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21511&quot;&gt;SERVER-21511&lt;/a&gt; Add more descriptive TODO.&lt;/p&gt;

&lt;p&gt;In mongos, $text queries are always evaluated with scatter-gather,&lt;br/&gt;
even when a text index exists on the collection.  &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21511&quot; title=&quot;Improve shard targeting for $text queries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21511&quot;&gt;SERVER-21511&lt;/a&gt;&lt;br/&gt;
tracks fixing this limitation, which cannot yet be resolved without&lt;br/&gt;
improvements in mongos&apos; use of the query planner for chunk index bounds&lt;br/&gt;
selection.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f9bf8a5ba0e3397a37f55a2fbca9abe854f863d7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f9bf8a5ba0e3397a37f55a2fbca9abe854f863d7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1285024" author="xgen-internal-githook" created="Mon, 6 Jun 2016 14:43:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;dhatch&apos;, u&apos;name&apos;: u&apos;David Hatch&apos;, u&apos;email&apos;: u&apos;david.hatch@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21511&quot; title=&quot;Improve shard targeting for $text queries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21511&quot;&gt;SERVER-21511&lt;/a&gt; Add more descriptive TODO.&lt;/p&gt;

&lt;p&gt;In mongos, $text queries are always evaluated with scatter-gather,&lt;br/&gt;
even when a text index exists on the collection.  &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21511&quot; title=&quot;Improve shard targeting for $text queries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21511&quot;&gt;SERVER-21511&lt;/a&gt;&lt;br/&gt;
tracks fixing this limitation, which cannot yet be resolved without&lt;br/&gt;
improvements in mongos&apos; use of the query planner for chunk index bounds&lt;br/&gt;
selection.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f9bf8a5ba0e3397a37f55a2fbca9abe854f863d7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f9bf8a5ba0e3397a37f55a2fbca9abe854f863d7&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>2.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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25467"><![CDATA[Query Integration]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 6 Jun 2016 14:43:23 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 36 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-query-integration</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>rassi</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkohz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2e7b:</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="817">QuInt E (01/11/16)</customfieldvalue>
    <customfieldvalue id="859">Query F (02/01/16)</customfieldvalue>
    <customfieldvalue id="898">Query 10 (02/22/16)</customfieldvalue>

                        </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|hsffuf:</customfieldvalue>

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