<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:03:54 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-23611] Query planner should set collation from collection default if query lacks user-specified collation</title>
                <link>https://jira.mongodb.org/browse/SERVER-23611</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="278303">SERVER-23611</key>
            <summary>Query planner should set collation from collection default if query lacks user-specified collation</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="9">Done</resolution>
                                        <assignee username="rassi">J Rassi</assignee>
                                    <reporter username="rassi">J Rassi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Apr 2016 19:28:39 +0000</created>
                <updated>Thu, 14 Jul 2016 15:58:23 +0000</updated>
                            <resolved>Mon, 13 Jun 2016 22:00:10 +0000</resolved>
                                                    <fixVersion>3.3.9</fixVersion>
                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1292916" author="xgen-internal-githook" created="Mon, 13 Jun 2016 21:59:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;J. Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23611&quot; title=&quot;Query planner should set collation from collection default if query lacks user-specified collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23611&quot;&gt;&lt;del&gt;SERVER-23611&lt;/del&gt;&lt;/a&gt; Collection-default jstests for collation-aware ops&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2bf2c9d2d5de6ff8136bfe9ca30346300deadb13&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2bf2c9d2d5de6ff8136bfe9ca30346300deadb13&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1292576" author="xgen-internal-githook" created="Mon, 13 Jun 2016 18:59:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;J. Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23611&quot; title=&quot;Query planner should set collation from collection default if query lacks user-specified collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23611&quot;&gt;&lt;del&gt;SERVER-23611&lt;/del&gt;&lt;/a&gt; Agg use collection default collation, if unspecified&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6b6cd6727d262d5db5e4f226e4da0d2bc410a4d8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6b6cd6727d262d5db5e4f226e4da0d2bc410a4d8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1292575" author="xgen-internal-githook" created="Mon, 13 Jun 2016 18:59:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;J. Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23611&quot; title=&quot;Query planner should set collation from collection default if query lacks user-specified collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23611&quot;&gt;&lt;del&gt;SERVER-23611&lt;/del&gt;&lt;/a&gt; Distinct use collection default collation, if unspecified&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/848949b47b5af8bb0302ee1b8dbbbcac47969d42&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/848949b47b5af8bb0302ee1b8dbbbcac47969d42&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1292574" author="xgen-internal-githook" created="Mon, 13 Jun 2016 18:59:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;J. Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23611&quot; title=&quot;Query planner should set collation from collection default if query lacks user-specified collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23611&quot;&gt;&lt;del&gt;SERVER-23611&lt;/del&gt;&lt;/a&gt; Queries use collection default collation, if unspecified&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a63ddd2455e456c602e2ba9a4f4da0a424068f94&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a63ddd2455e456c602e2ba9a4f4da0a424068f94&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1290903" author="xgen-internal-githook" created="Fri, 10 Jun 2016 19:13:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;J. Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23611&quot; title=&quot;Query planner should set collation from collection default if query lacks user-specified collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23611&quot;&gt;&lt;del&gt;SERVER-23611&lt;/del&gt;&lt;/a&gt; Add InMatchExpression::setCollator() method&lt;/p&gt;

&lt;p&gt;Also removes collator parameter from InMatchExpression constructor.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d5e278328c445b15f403312a41e82bec342e74fd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d5e278328c445b15f403312a41e82bec342e74fd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1285776" author="xgen-internal-githook" created="Mon, 6 Jun 2016 22:01:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;J. Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23611&quot; title=&quot;Query planner should set collation from collection default if query lacks user-specified collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23611&quot;&gt;&lt;del&gt;SERVER-23611&lt;/del&gt;&lt;/a&gt; Improve signature of prepareExecution()&lt;/p&gt;

&lt;p&gt;Instead of prepareExecution() taking two out-parameters and mutating&lt;br/&gt;
one of its in-parameters, it now explicitly takes ownership of the&lt;br/&gt;
CanonicalQuery passed in and returns a StatusWith&amp;lt;&amp;gt; that wraps the&lt;br/&gt;
three return values.  Forcing callers to std::move() their&lt;br/&gt;
CanonicalQuery and extract it back out should help make it more&lt;br/&gt;
obvious that it may be mutated.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/82425c23f333636af821af38fc44979038b14d50&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/82425c23f333636af821af38fc44979038b14d50&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1285775" author="xgen-internal-githook" created="Mon, 6 Jun 2016 22:01:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;J. Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23611&quot; title=&quot;Query planner should set collation from collection default if query lacks user-specified collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23611&quot;&gt;&lt;del&gt;SERVER-23611&lt;/del&gt;&lt;/a&gt; Add collation tests for non-existent collections&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3a22c6045500cd7c7d1f76618f5a462bfc17d386&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3a22c6045500cd7c7d1f76618f5a462bfc17d386&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1285774" author="xgen-internal-githook" created="Mon, 6 Jun 2016 22:01:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;J. Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23611&quot; title=&quot;Query planner should set collation from collection default if query lacks user-specified collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23611&quot;&gt;&lt;del&gt;SERVER-23611&lt;/del&gt;&lt;/a&gt; Add ComparisonMatchExpression::setCollator() method&lt;/p&gt;

&lt;p&gt;Also removes collator parameter from ComparisonMatchExpression&lt;br/&gt;
constructor.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c78f95141142e4d13c820a64aa26fe28d07ebb0c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c78f95141142e4d13c820a64aa26fe28d07ebb0c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1285773" author="xgen-internal-githook" created="Mon, 6 Jun 2016 22:01:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;J. Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23611&quot; title=&quot;Query planner should set collation from collection default if query lacks user-specified collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23611&quot;&gt;&lt;del&gt;SERVER-23611&lt;/del&gt;&lt;/a&gt; MatchExpressionParser::_parse() should take a collator&lt;/p&gt;

&lt;p&gt;Removes member MatchExpressionParser::_collator.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/38ab06d09b2295d404c7e8d012a8491ed0a0ec1f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/38ab06d09b2295d404c7e8d012a8491ed0a0ec1f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1277928" author="xgen-internal-githook" created="Fri, 27 May 2016 18:09:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;J. Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23611&quot; title=&quot;Query planner should set collation from collection default if query lacks user-specified collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23611&quot;&gt;&lt;del&gt;SERVER-23611&lt;/del&gt;&lt;/a&gt; Refactor InMatchExpression&lt;/p&gt;

&lt;p&gt;Includes deletion of the ArrayFilterEntries class.&lt;/p&gt;

&lt;p&gt;This is groundwork for implementing InMatchExpression::setCollator().&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f93ad728e94b6813c242faac43d4b57a07a3c319&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f93ad728e94b6813c242faac43d4b57a07a3c319&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="278296">SERVER-23610</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="281443">SERVER-23849</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="282340">SERVER-23924</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="293426">SERVER-24534</issuekey>
        </issuelink>
                            </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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.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>Fri, 27 May 2016 18:09:48 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 35 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-23610'>SERVER-23610</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-23849'>SERVER-23849</a></s>]]></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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-266</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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 35 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <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|hrkb1z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrczan:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="973">Query 13 (04/22/16)</customfieldvalue>
    <customfieldvalue id="1040">Query 14 (05/13/16)</customfieldvalue>
    <customfieldvalue id="1084">Query 15 (06/03/16)</customfieldvalue>
    <customfieldvalue id="1088">Query 16 (06/24/16)</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|hsf23j:</customfieldvalue>

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