<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:22:58 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-30188] Index option to skip keys that are too large</title>
                <link>https://jira.mongodb.org/browse/SERVER-30188</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently if there is any document with a key too large to be indexed (&amp;gt;1024), an error will be thrown and the index will not be created.&lt;/p&gt;

&lt;p&gt;I would like to have an option to skip those values and index all the other keys.&lt;/p&gt;

&lt;p&gt;As far as I can see, this can not be achieved with partial indices for multikey indices, since partial indices can only exclude the entire document from being indexed, not a single element from the array being indexed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="404827">SERVER-30188</key>
            <summary>Index option to skip keys that are too large</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="13202">Works as Designed</resolution>
                                        <assignee username="backlog-server-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="karo">Karolin Varner</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Jul 2017 19:32:42 +0000</created>
                <updated>Fri, 27 Oct 2023 13:54:20 +0000</updated>
                            <resolved>Tue, 18 Jul 2017 15:19:30 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1624795" author="karo" created="Tue, 18 Jul 2017 15:31:49 +0000"  >&lt;p&gt;@Eric Awesome! Thank you for that info, I&apos;ll watch that ticket then &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="1624777" author="milkie" created="Tue, 18 Jul 2017 15:19:30 +0000"  >&lt;p&gt;Instead of implementing this idea (which would be counted as &quot;index corruption&quot; by our validation checking), we are instead working on lifting the index key length limit, which is only necessarily for the MMAPv1 storage engine; see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3372&quot; title=&quot;Allow indexing fields of arbitrary length&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3372&quot;&gt;&lt;del&gt;SERVER-3372&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1624434" author="karo" created="Tue, 18 Jul 2017 07:26:10 +0000"  >&lt;p&gt;Hi Stephen,&lt;br/&gt;
thank you very much, I didn&apos;t know about that parameter and I  agree it shouldn&apos;t be set to false globally.&lt;br/&gt;
Could you introduce this as a per-index parameter, so I don&apos;t introduce unexpected behaviour in cases where I don&apos;t explicitly need it?&lt;/p&gt;

&lt;p&gt;Best,&lt;br/&gt;
Karolin&lt;/p&gt;</comment>
                            <comment id="1624323" author="stennie" created="Tue, 18 Jul 2017 00:34:54 +0000"  >&lt;p&gt;Hi Karolin,&lt;/p&gt;

&lt;p&gt;There is already a &lt;a href=&quot;https://docs.mongodb.com/manual/reference/parameters/#param.failIndexKeyTooLong&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;failIndexKeyTooLong&lt;/a&gt; server parameter which you can set to &lt;tt&gt;false&lt;/tt&gt; if you want to ignore values that exceed the &lt;a href=&quot;https://docs.mongodb.com/manual/reference/limits/#Index-Key-Limit&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;index key length limit&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Generally this isn&apos;t a recommended parameter to disable. If &lt;tt&gt;failIndexKeyTooLong&lt;/tt&gt; is set to &lt;tt&gt;false&lt;/tt&gt;, documents will silently fail to be included in indexes when a value is too long to index.&lt;/p&gt;

&lt;p&gt;This can lead to some unexpected behaviors (see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5290&quot; title=&quot;fail to insert docs with fields too long to index, and fail to create indexes where doc keys are too big&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5290&quot;&gt;&lt;del&gt;SERVER-5290&lt;/del&gt;&lt;/a&gt; for a few examples).&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Stephen&lt;/p&gt;</comment>
                            <comment id="1624018" author="karo" created="Mon, 17 Jul 2017 19:39:14 +0000"  >&lt;p&gt;Thanks, I only noticed when I couldn&apos;t change it any more!&lt;/p&gt;</comment>
                            <comment id="1624013" author="milkie" created="Mon, 17 Jul 2017 19:36:24 +0000"  >&lt;p&gt;This doesn&apos;t appear to be filed in the correct product, as you are talking about MongoDB.  I will move it now.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="112993">SERVER-12834</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="19114">SERVER-3372</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 17 Jul 2017 19:36:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 30 weeks, 1 day 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 30 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>karo</customfieldvalue>
            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htb1rj:</customfieldvalue>

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

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