<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:48: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>[DOCS-4540] db.collection.ensureIndex() should be deprecated</title>
                <link>https://jira.mongodb.org/browse/DOCS-4540</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Official drivers have deprecated ensureIndex methods in favour of createIndex (eg &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1097&quot; title=&quot;deprecate ensureIndex() methods&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1097&quot;&gt;&lt;del&gt;JAVA-1097&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-736&quot; title=&quot;Don&amp;#39;t cache EnsureIndex and deprecate CreateIndex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-736&quot;&gt;&lt;del&gt;CSHARP-736&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;For consistency of API we should note ensureIndex() as deprecated in the mongo shell as well.&lt;/p&gt;</description>
                <environment></environment>
        <key id="174943">DOCS-4540</key>
            <summary>db.collection.ensureIndex() should be deprecated</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="sam.kleinman">Sam Kleinman</assignee>
                                    <reporter username="stephen.steneker@mongodb.com">Stennie Steneker</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Dec 2014 00:21:57 +0000</created>
                <updated>Mon, 16 Mar 2015 23:53:54 +0000</updated>
                            <resolved>Tue, 6 Jan 2015 21:28:49 +0000</resolved>
                                    <version>mongodb-2.6</version>
                    <version>mongodb-3.0</version>
                                    <fixVersion>v1.3.16</fixVersion>
                    <fixVersion>mongodb-2.6</fixVersion>
                    <fixVersion>mongodb-3.0</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="798455" author="xgen-internal-githook" created="Tue, 6 Jan 2015 21:28:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4540&quot; title=&quot;db.collection.ensureIndex() should be deprecated&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4540&quot;&gt;&lt;del&gt;DOCS-4540&lt;/del&gt;&lt;/a&gt;: changing examples with ensureIndex to use createIndex&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/2ba39b55f482da4b383336e088f85544dbc5a79d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/2ba39b55f482da4b383336e088f85544dbc5a79d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="798454" author="xgen-internal-githook" created="Tue, 6 Jan 2015 21:28:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4540&quot; title=&quot;db.collection.ensureIndex() should be deprecated&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4540&quot;&gt;&lt;del&gt;DOCS-4540&lt;/del&gt;&lt;/a&gt;: migrate ensureIndex content to createIndex page&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/649be580f87698b4c2c88cb70a9159a29d780417&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/649be580f87698b4c2c88cb70a9159a29d780417&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="797081" author="xgen-internal-githook" created="Mon, 5 Jan 2015 16:43:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4540&quot; title=&quot;db.collection.ensureIndex() should be deprecated&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4540&quot;&gt;&lt;del&gt;DOCS-4540&lt;/del&gt;&lt;/a&gt;: deprecation notice for ensureIndex&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/6aa5544d42792852b99f2bc3b65ab4346565ec1b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/6aa5544d42792852b99f2bc3b65ab4346565ec1b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="794204" author="stennie" created="Sat, 27 Dec 2014 11:36:02 +0000"  >&lt;p&gt;When connecting to MongoDB 2.6+ (non-legacy write mode) ensureIndex() returns the same results as createIndex(): &lt;a href=&quot;https://github.com/mongodb/mongo/blob/v2.6/src/mongo/shell/collection.js#L558&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/v2.6/src/mongo/shell/collection.js#L558&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="174933">DOCS-4539</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="108391">JAVA-1097</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="73570">CSHARP-736</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10855" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Actual Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 5 Jan 2015 16:43:37 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 6 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>sam.kleinman</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|hrqmcv:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>153302</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hryrgf:</customfieldvalue>

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