<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:24:15 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-10857] Improve error checking of text index spec and text-indexed documents</title>
                <link>https://jira.mongodb.org/browse/SERVER-10857</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Proposed behavior:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Fail text index build if any part of the index spec (key, default_language, language_override, weights, textIndexVersion) has an invalid value, or a document is found with an invalid language.&lt;/li&gt;
	&lt;li&gt;Fail insert if document has an invalid language.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Current behavior if an invalid value is found is to silently ignore it and fall back to defaults.&lt;/p&gt;</description>
                <environment></environment>
        <key id="91189">SERVER-10857</key>
            <summary>Improve error checking of text index spec and text-indexed documents</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="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>
                            <label>26qa</label>
                    </labels>
                <created>Mon, 23 Sep 2013 22:25:07 +0000</created>
                <updated>Thu, 5 Nov 2015 15:53:13 +0000</updated>
                            <resolved>Mon, 9 Dec 2013 16:28:08 +0000</resolved>
                                    <version>2.5.2</version>
                                    <fixVersion>2.5.5</fixVersion>
                                    <component>Text Search</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="467800" author="xgen-internal-githook" created="Mon, 9 Dec 2013 16:26:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason 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-10857&quot; title=&quot;Improve error checking of text index spec and text-indexed documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10857&quot;&gt;&lt;del&gt;SERVER-10857&lt;/del&gt;&lt;/a&gt; Test: text indexes validate documents&apos; language_override&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6ea28a261ff80e27cf0accaca421df3b13e3b20b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6ea28a261ff80e27cf0accaca421df3b13e3b20b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="467081" author="xgen-internal-githook" created="Fri, 6 Dec 2013 18:55:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason 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-10857&quot; title=&quot;Improve error checking of text index spec and text-indexed documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10857&quot;&gt;&lt;del&gt;SERVER-10857&lt;/del&gt;&lt;/a&gt; Validate various text index spec options&lt;/p&gt;

&lt;p&gt;Implements validation for text spec options:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;key&lt;/li&gt;
	&lt;li&gt;language_override&lt;/li&gt;
	&lt;li&gt;weights&lt;/li&gt;
	&lt;li&gt;textIndexVersion&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ed086215c93b69356147c4c27cb5b2de0cd33267&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ed086215c93b69356147c4c27cb5b2de0cd33267&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="465711" author="xgen-internal-githook" created="Wed, 4 Dec 2013 20:04:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason 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-10857&quot; title=&quot;Improve error checking of text index spec and text-indexed documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10857&quot;&gt;&lt;del&gt;SERVER-10857&lt;/del&gt;&lt;/a&gt; Remove support for now-broken &quot;fts&quot; index alias&lt;/p&gt;

&lt;p&gt;Originally text indexes were created with ensureIndex(&lt;/p&gt;
{a:&quot;fts&quot;}
&lt;p&gt;).&lt;br/&gt;
The index name was changed to &quot;text&quot; before 2.4 was&lt;br/&gt;
shipped/documented.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/57a4f1697eebfeac1294dd740a1e3e3c4356d74a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/57a4f1697eebfeac1294dd740a1e3e3c4356d74a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="465710" author="xgen-internal-githook" created="Wed, 4 Dec 2013 20:04:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason 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-10857&quot; title=&quot;Improve error checking of text index spec and text-indexed documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10857&quot;&gt;&lt;del&gt;SERVER-10857&lt;/del&gt;&lt;/a&gt; Remove erroneous IndexName::TEXT_INTERNAL&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/84a20358b16eb9cbe92d9d55014d9e0cc0606f35&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/84a20358b16eb9cbe92d9d55014d9e0cc0606f35&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="455571" author="xgen-internal-githook" created="Wed, 13 Nov 2013 15:42:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason 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-9932&quot; title=&quot;Text search languages should accept standard two letters notation &amp;quot;en&amp;quot;, &amp;quot;es&amp;quot;... (ISO 639-1)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9932&quot;&gt;&lt;del&gt;SERVER-9932&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10857&quot; title=&quot;Improve error checking of text index spec and text-indexed documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10857&quot;&gt;&lt;del&gt;SERVER-10857&lt;/del&gt;&lt;/a&gt; Text search language aliases/validation&lt;/p&gt;

&lt;p&gt;Users can now use two-letter language codes and can specify&lt;br/&gt;
languages in mixed case.&lt;/p&gt;

&lt;p&gt;The following operations will now fail if they do not pass language&lt;br/&gt;
validation:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Building a text index (if default_language fails validation or if&lt;br/&gt;
  the target collection contains a document with a language that&lt;br/&gt;
  fails validation).&lt;/li&gt;
	&lt;li&gt;Inserting a document into a text-indexed collection (if it&lt;br/&gt;
  specifies a language that fails validation).&lt;/li&gt;
	&lt;li&gt;A text query or text command (if it specifies a language that&lt;br/&gt;
  fails validation).&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/075ff3c615cc9c53aab272af32a180d9f1ceda4a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/075ff3c615cc9c53aab272af32a180d9f1ceda4a&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="455465" author="auto" created="Wed, 13 Nov 2013 08:47:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason 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-9932&quot; title=&quot;Text search languages should accept standard two letters notation &amp;quot;en&amp;quot;, &amp;quot;es&amp;quot;... (ISO 639-1)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9932&quot;&gt;&lt;del&gt;SERVER-9932&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10857&quot; title=&quot;Improve error checking of text index spec and text-indexed documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10857&quot;&gt;&lt;del&gt;SERVER-10857&lt;/del&gt;&lt;/a&gt; Text search language aliases/validation&lt;/p&gt;

&lt;p&gt;Users can now use two-letter language codes and can specify&lt;br/&gt;
languages in mixed case.&lt;/p&gt;

&lt;p&gt;The following operations will now fail if they do not pass language&lt;br/&gt;
validation:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Building a text index (if default_language fails validation or if&lt;br/&gt;
  the target collection contains a document with a language that&lt;br/&gt;
  fails validation).&lt;/li&gt;
	&lt;li&gt;Inserting a document into a text-indexed collection (if it&lt;br/&gt;
  specifies a language that fails validation).&lt;/li&gt;
	&lt;li&gt;A text query or text command (if it specifies a language that&lt;br/&gt;
  fails validation).&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/075ff3c615cc9c53aab272af32a180d9f1ceda4a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/075ff3c615cc9c53aab272af32a180d9f1ceda4a&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="91532">SERVER-10906</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="81755">SERVER-10150</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="102058">SERVER-12070</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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 13 Nov 2013 08:47:28 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 10 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</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|hrmflz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrt2c7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>83460</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_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|hsparb:</customfieldvalue>

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