<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:12:43 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>[CDRIVER-1493] Flexible index-creation function</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1493</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Both mongoc_collection_create_index and mongoc_collection_create_index_with_opts take a mongoc_index_opt_t that is an API mistake. Replace with a new function that takes only a collection, index name, arbitrary bson_t options, and an error-out pointer.&lt;/p&gt;

&lt;p&gt;Original: &quot;storage engine index options limitation&quot;:&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;mongoc_index_opt_t&lt;/tt&gt; field &lt;tt&gt;storage_options&lt;/tt&gt; currently only supports giving a configuration string to the wiredTiger storage engine (no custom storage engine would be able to give options for index creation, and any additions to the wiredTiger index options would have to be supplemented by a change in the driver to support it).&lt;/p&gt;

&lt;p&gt;On top of that, it can only be done by casting a &lt;tt&gt;mongoc_index_opt_wt_t*&lt;/tt&gt; to a &lt;tt&gt;mongoc_index_opt_storage_t*&lt;/tt&gt;, and there&apos;s no documentation for that process (the source code &lt;em&gt;has&lt;/em&gt; to be read to realize this is what needs to be done).&lt;/p&gt;

&lt;p&gt;Shouldn&apos;t the storage engine options just be a &lt;tt&gt;bson_t&lt;/tt&gt;, as is generated by the driver anyway? e.g. the following could be passed in:&lt;br/&gt;
{&lt;tt&gt;&quot;wiredTiger&quot;: {&quot;configString&quot;: &quot;myconfig&quot;&lt;/tt&gt;}}&lt;br/&gt;
rather than:&lt;br/&gt;
&lt;tt&gt;(mongoc_index_opt_storage_t*)wt_opts&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="312094">CDRIVER-1493</key>
            <summary>Flexible index-creation function</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="lucas.morales">Lucas Morales</reporter>
                        <labels>
                    </labels>
                <created>Fri, 26 Aug 2016 17:20:03 +0000</created>
                <updated>Tue, 12 Sep 2017 18:33:19 +0000</updated>
                            <resolved>Thu, 10 Aug 2017 23:18:57 +0000</resolved>
                                    <version>1.4.0</version>
                                    <fixVersion>1.8.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1670920" author="ramon.fernandez" created="Tue, 12 Sep 2017 18:33:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;ajdavis&apos;, &apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message:deprecate createIndexes helpers&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2096&quot; title=&quot;Flexible index-creation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2096&quot;&gt;&lt;del&gt;CDRIVER-2096&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1493&quot; title=&quot;Flexible index-creation function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1493&quot;&gt;&lt;del&gt;CDRIVER-1493&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch:master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/48750743091175d771ff4aa7b25097657bda828e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/48750743091175d771ff4aa7b25097657bda828e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1646638" author="xgen-internal-githook" created="Fri, 11 Aug 2017 19:41:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: add createIndexes guide&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2096&quot; title=&quot;Flexible index-creation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2096&quot;&gt;&lt;del&gt;CDRIVER-2096&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1493&quot; title=&quot;Flexible index-creation function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1493&quot;&gt;&lt;del&gt;CDRIVER-1493&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/ff6b44e9c38b783f4238b55916da0a1677bd3b80&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/ff6b44e9c38b783f4238b55916da0a1677bd3b80&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1646482" author="xgen-internal-githook" created="Fri, 11 Aug 2017 17:53:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: add createIndexes example&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2096&quot; title=&quot;Flexible index-creation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2096&quot;&gt;&lt;del&gt;CDRIVER-2096&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1493&quot; title=&quot;Flexible index-creation function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1493&quot;&gt;&lt;del&gt;CDRIVER-1493&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/c0a1afbc4a6a5f7454062fda183329dd768f1c3a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/c0a1afbc4a6a5f7454062fda183329dd768f1c3a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1373990" author="bjori" created="Wed, 31 Aug 2016 21:18:01 +0000"  >&lt;p&gt;quashi related to &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1372&quot; title=&quot;Support providing collation per operation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1372&quot;&gt;&lt;del&gt;CDRIVER-1372&lt;/del&gt;&lt;/a&gt; where we have to fix mongoc_collection_create_index () to support collation option..&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="367190">CDRIVER-2096</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="300445">CDRIVER-1372</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrau8v:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1666">C Driver 2017 3 - March 8</customfieldvalue>

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