<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:36:59 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>[CSHARP-487] Add multiple fields search support for LINQ provider</title>
                <link>https://jira.mongodb.org/browse/CSHARP-487</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Since structure of the document might be changed (i.e. field name, single value property might become a collection), it would be nice to save backward compatibility with old records while supporting new ones. One of the way to achieve this is to add custom attributes that will map new property to the old one(s).&lt;br/&gt;
Example: &lt;/p&gt;

&lt;p&gt;old version of the class: employee.Task&lt;br/&gt;
new version of the class: employee.Tasks&lt;/p&gt;

&lt;p&gt;As a result &quot;var query =&lt;br/&gt;
    employees.AsQueryable&amp;lt;C&amp;gt;()&lt;br/&gt;
    .Where(e =&amp;gt; e.Tasks.Contains(someTask));&quot; should be able to make search through old records searching Task field and new records searching Tasks field.&lt;/p&gt;</description>
                <environment></environment>
        <key id="40425">CSHARP-487</key>
            <summary>Add multiple fields search support for LINQ provider</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="romikss">Roman Sydorenko</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Jun 2012 09:02:44 +0000</created>
                <updated>Thu, 20 Mar 2014 16:39:01 +0000</updated>
                            <resolved>Wed, 13 Mar 2013 14:52:04 +0000</resolved>
                                    <version>1.4.2</version>
                                                    <component>Feature Request</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="126315" author="romikss" created="Tue, 5 Jun 2012 13:08:52 +0000"  >&lt;p&gt;Yes, sure, priority is up to you. Thank you for your feedback! &lt;/p&gt;</comment>
                            <comment id="126312" author="craiggwilson" created="Tue, 5 Jun 2012 13:03:50 +0000"  >&lt;p&gt;Seems reasonable enough.  We&apos;ll take it under consideration.  Thanks for the proposal.  Can we downgrade the priority of this from Critical to Minor?  This doesn&apos;t seem like it would affect a majority of people.&lt;/p&gt;</comment>
                            <comment id="126304" author="romikss" created="Tue, 5 Jun 2012 12:43:56 +0000"  >&lt;p&gt;Using reflection. I think that corresponding fields of the class could be marked by custom attribute (i.e. &lt;span class=&quot;error&quot;&gt;&amp;#91;FieldToCheck(&amp;quot;Task&amp;quot;, typeof(string))&amp;#93;&lt;/span&gt;). Then driver could check the attribute and know about all field names/types that had been used before for the marked field (in our example, for the &quot;Tasks&quot; field).&lt;/p&gt;</comment>
                            <comment id="126267" author="craiggwilson" created="Tue, 5 Jun 2012 11:42:25 +0000"  >&lt;p&gt;@Roman: How would you propose the driver know about the document structure change?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="54944">CSHARP-622</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|hrh7gv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14009</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>