<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:53:23 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-205] $or</title>
                <link>https://jira.mongodb.org/browse/SERVER-205</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;maybe: { $or : [ &lt;/p&gt;
{ x : 5 }
&lt;p&gt; , &lt;/p&gt;
{ a : 3 }
&lt;p&gt; ] }&lt;/p&gt;</description>
                <environment></environment>
        <key id="10386">SERVER-205</key>
            <summary>$or</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="aaron">Aaron Staple</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Jul 2009 17:20:29 +0000</created>
                <updated>Tue, 12 Jul 2016 00:30:06 +0000</updated>
                            <resolved>Wed, 9 Jun 2010 13:33:50 +0000</resolved>
                                                    <fixVersion>1.5.3</fixVersion>
                                    <component>Querying</component>
                                        <votes>44</votes>
                                    <watches>28</watches>
                                                                                                                <comments>
                            <comment id="13610" author="auto" created="Tue, 13 Apr 2010 18:18:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-205&quot; title=&quot;$or&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-205&quot;&gt;&lt;del&gt;SERVER-205&lt;/del&gt;&lt;/a&gt; cleaner test&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/41d65a81f9e0b04e80ee435c81d909c7c4b6fe98&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/41d65a81f9e0b04e80ee435c81d909c7c4b6fe98&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="13606" author="eliot" created="Tue, 13 Apr 2010 15:20:58 +0000"  >&lt;p&gt;ah, i see&lt;br/&gt;
i think we have to disallow it&lt;br/&gt;
unless we do some very smart logic about ensuring its the same path&lt;/p&gt;</comment>
                            <comment id="13605" author="aaron" created="Tue, 13 Apr 2010 15:16:41 +0000"  >&lt;p&gt;so if somebody does an update and they want to use the $ operator to represent the modified field - which of the $or clauses should we use to get the array match from?  What if there&apos;s an array match in a non or portion of the query?&lt;/p&gt;</comment>
                            <comment id="13604" author="eliot" created="Tue, 13 Apr 2010 15:11:29 +0000"  >&lt;p&gt;did you mean to have something after the $ or am i missing something&lt;/p&gt;</comment>
                            <comment id="13603" author="aaron" created="Tue, 13 Apr 2010 15:08:28 +0000"  >&lt;p&gt;what&apos;s desired behavior for the $ operator?&lt;/p&gt;</comment>
                            <comment id="13585" author="eliot" created="Tue, 13 Apr 2010 07:25:28 +0000"  >&lt;p&gt;Recursive shouldn&apos;t be allowed &lt;/p&gt;</comment>
                            <comment id="13584" author="aaron" created="Tue, 13 Apr 2010 01:07:05 +0000"  >&lt;p&gt;so allowing non or fields adjacent to or fields invites the possibility of recursive ors.  Do we want to allow recursive ors?&lt;/p&gt;</comment>
                            <comment id="13571" author="eliot" created="Mon, 12 Apr 2010 16:38:20 +0000"  >&lt;p&gt;you can $not an $or&lt;/p&gt;

&lt;p&gt;ideally { a:1,$or:[&lt;/p&gt;
{b:2}
&lt;p&gt;,&lt;/p&gt;
{c:3}
&lt;p&gt;]} is supported&lt;/p&gt;

&lt;p&gt;though &lt;br/&gt;
$or : [ &lt;/p&gt;
{ a : 1 , b : 2 }
&lt;p&gt; , &lt;/p&gt;
{ a : 2 , b : 3 }
&lt;p&gt; ]&lt;br/&gt;
isn&apos;t so bad if that&apos;s a lot easier.&lt;/p&gt;

&lt;p&gt;maybe start with that actually&lt;/p&gt;</comment>
                            <comment id="13570" author="aaron" created="Mon, 12 Apr 2010 16:35:31 +0000"  >&lt;p&gt;Also, can you $not an $or?&lt;/p&gt;</comment>
                            <comment id="13569" author="aaron" created="Mon, 12 Apr 2010 16:34:47 +0000"  >&lt;p&gt;is a query like this allowed { a:1,$or:[&lt;/p&gt;
{b:2}
&lt;p&gt;,&lt;/p&gt;
{c:3}
&lt;p&gt;]} or will the $or always be the only top level field?&lt;/p&gt;</comment>
                            <comment id="13182" author="dwight_10gen" created="Fri, 26 Mar 2010 07:21:47 +0000"  >&lt;p&gt;see also &lt;a href=&quot;http://www.mongodb.org/display/DOCS/OR+operations+in+query+expressions&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/OR+operations+in+query+expressions&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="10566" author="randito" created="Wed, 26 Aug 2009 15:26:50 +0000"  >&lt;p&gt;Some discussion on the forum about $or:  &lt;br/&gt;
&lt;a href=&quot;http://groups.google.com/group/mongodb-user/browse_thread/thread/1323d06daa2ac49a/201775d882cbb49b?lnk=gst&amp;amp;q=or#201775d882cbb49b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user/browse_thread/thread/1323d06daa2ac49a/201775d882cbb49b?lnk=gst&amp;amp;q=or#201775d882cbb49b&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="10229">SERVER-109</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="10229">SERVER-109</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>12.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 26 Aug 2009 15:26:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 45 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-109'>SERVER-109</a></s>]]></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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 45 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aaron</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>randito</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpwxr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22663</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|hrmexz:</customfieldvalue>

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