<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:15:55 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-48026] Stop unconditionally throwing an error when a text search language is unsupported</title>
                <link>https://jira.mongodb.org/browse/SERVER-48026</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Context:&#160;&lt;a href=&quot;https://stackoverflow.com/questions/61418548&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/61418548&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I receive language codes from twitch.tv, and store in mongodb. I&apos;d like to utilize text search on supported languages. For unsupported languages, I&apos;d like mongo to just ignore it, instead of throwing an error. This way, I can use one field to store the language code.&lt;/p&gt;

&lt;p&gt;Currently, it seems like I have to detect if mongo supports a lang, if not, I have to store it in another field. So now every document requires 2 fields,&#160;`language` for supported langs, and `language2` for unsupported langs. This is an ugly hack and I&apos;d like a better solution.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1343806">SERVER-48026</key>
            <summary>Stop unconditionally throwing an error when a text search language is unsupported</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="guanzo91@gmail.com">Eric Guan</reporter>
                        <labels>
                            <label>qexec-team</label>
                            <label>qi-text-search</label>
                    </labels>
                <created>Thu, 7 May 2020 21:22:48 +0000</created>
                <updated>Wed, 27 Dec 2023 16:29:33 +0000</updated>
                                            <version>4.0.3</version>
                                                    <component>Text Search</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3188558" author="guanzo91@gmail.com" created="Wed, 3 Jun 2020 21:30:22 +0000"  >&lt;p&gt;&amp;gt;&#160;Is your request that the system automatically falls back to the&#160;&lt;tt&gt;default_language&lt;/tt&gt;&#160;associated with the text index if the language code specified in a document&apos;s&#160;&lt;tt&gt;language_override&lt;/tt&gt;&#160;field is not recognized?&lt;/p&gt;

&lt;p&gt;If the language code specified in a document&apos;s&#160;&lt;tt&gt;language_override&lt;/tt&gt;&#160;field is not recognized, I would like to still be able to store the document without error, without having to use another field for the unrecognized language code.&lt;/p&gt;

&lt;p&gt;That is my only request. I&apos;ve not considered what should happen after. If falling back to the&#160;&lt;tt&gt;default_language&lt;/tt&gt; is the sane choice here, then I support it.&#160;&lt;/p&gt;

&lt;p&gt;&amp;gt;&#160;we would likely do so under a new opt-in flag specified when the index is created.&lt;/p&gt;

&lt;p&gt;I agree, if implemented, it should be opt in.&lt;/p&gt;

&lt;p&gt;&amp;gt;&#160;Are you aware of&#160;&lt;a href=&quot;https://docs.atlas.mongodb.com/atlas-search/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Atlas Search&lt;/a&gt;?&lt;/p&gt;

&lt;p&gt;Was not aware, but Atlas is way above my needs right now.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks for the consideration.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="3188508" author="david.storch" created="Wed, 3 Jun 2020 20:49:43 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=guanzo91%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;guanzo91@gmail.com&quot;&gt;guanzo91@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for the feature request! One question to make sure we understand correctly: Is your request that the system automatically falls back to the &lt;tt&gt;default_language&lt;/tt&gt; associated with the text index if the language code specified in a document&apos;s &lt;tt&gt;language_override&lt;/tt&gt; field is not recognized? I ask because I don&apos;t think it would be acceptable from our point of view to simply not index documents containing an unsupported language code. Although text indexes can also be &lt;a href=&quot;https://docs.mongodb.com/manual/core/index-partial/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;partial&lt;/a&gt;, I don&apos;t think we want text indexes to be implicitly partial in order to ensure that $text search result sets are not partial.&lt;/p&gt;

&lt;p&gt;Another thought is that if we were to implement this feature, we would likely do so under a new opt-in flag specified when the index is created. That would be necessary to avoid breaking applications which expect the system to enforce the invariant that documents containing invalid values in the &lt;tt&gt;language_override&lt;/tt&gt; field are rejected.&lt;/p&gt;

&lt;p&gt;Now that I&apos;ve reviewed this request a bit more carefully, I&apos;m going to put it back in the Server Query Team&apos;s queue for triage.&lt;/p&gt;

&lt;p&gt;One final note: Are you aware of &lt;a href=&quot;https://docs.atlas.mongodb.com/atlas-search/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Atlas Search&lt;/a&gt;? A beta-version of this feature is available for MongoDB 4.2 on Atlas. It&apos;s one of the places where our engineering team is investing resources around text search use cases right now.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dave&lt;/p&gt;</comment>
                            <comment id="3079098" author="carl.champain" created="Mon, 11 May 2020 18:12:51 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=guanzo91%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;guanzo91@gmail.com&quot;&gt;guanzo91@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for the report. I&apos;m passing this ticket along to the appropriate team for additional investigation. Updates will be posted as they happen.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Carl&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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.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_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001mcyrEQAQ]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 11 May 2020 18:08:46 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 36 weeks 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>
                            3 years, 36 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-query-integration</customfieldvalue>
            <customfieldvalue>carl.champain@mongodb.com</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>guanzo91@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxk74n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2hpb:</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="3501">Query 2020-06-01</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|hxjtdz:</customfieldvalue>

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