<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:37 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-3984] Support $or and geo queries</title>
                <link>https://jira.mongodb.org/browse/SERVER-3984</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In some cases it would be useful to do combinations of geospatial queries using $or, or $all, to do geospatial union or intersection.  &lt;/p&gt;</description>
                <environment></environment>
        <key id="23081">SERVER-3984</key>
            <summary>Support $or and geo queries</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="benety.goh@mongodb.com">Benety Goh</assignee>
                                    <reporter username="greg_10gen">Greg Studer</reporter>
                        <labels>
                            <label>query_triage</label>
                    </labels>
                <created>Fri, 30 Sep 2011 17:58:55 +0000</created>
                <updated>Mon, 11 Jul 2016 18:35:31 +0000</updated>
                            <resolved>Fri, 22 Nov 2013 00:19:29 +0000</resolved>
                                                    <fixVersion>2.5.5</fixVersion>
                                    <component>Geo</component>
                    <component>Querying</component>
                                        <votes>34</votes>
                                    <watches>32</watches>
                                                                                                                <comments>
                            <comment id="879389" author="alonho" created="Mon, 13 Apr 2015 09:13:54 +0000"  >&lt;p&gt;Done: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18004&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-18004&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="879294" author="dan@10gen.com" created="Mon, 13 Apr 2015 04:27:27 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alonho&quot; class=&quot;user-hover&quot; rel=&quot;alonho&quot;&gt;alonho&lt;/a&gt;, can you open a new ticket please?&lt;/p&gt;</comment>
                            <comment id="879139" author="alonho" created="Sun, 12 Apr 2015 07:58:28 +0000"  >&lt;p&gt;This still isn&apos;t solved for sharded collections. Should I open another ticket or re-open this one?&lt;br/&gt;
It&apos;s easy to reproduce: invoke a $or with two geoWithin on a sharded collection and you&apos;ll get: database error: $or may not contain &apos;special&apos; query&lt;/p&gt;</comment>
                            <comment id="460138" author="xgen-internal-githook" created="Fri, 22 Nov 2013 00:19:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;benety&apos;, u&apos;name&apos;: u&apos;Benety Goh&apos;, u&apos;email&apos;: u&apos;benety@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3984&quot; title=&quot;Support $or and geo queries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3984&quot;&gt;&lt;del&gt;SERVER-3984&lt;/del&gt;&lt;/a&gt; added support for $or and geo queries&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e34325d78543aca3a9f37469aee64c8a9bd23772&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e34325d78543aca3a9f37469aee64c8a9bd23772&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="396909" author="robber" created="Tue, 6 Aug 2013 14:19:18 +0000"  >&lt;p&gt;It would be useful&lt;/p&gt;</comment>
                            <comment id="297790" author="rcino" created="Mon, 25 Mar 2013 13:32:49 +0000"  >&lt;p&gt;This is strongly, and negatively, affecting our ability to get a key feature out for our app.  Is there a known workaround for the time being?&lt;/p&gt;</comment>
                            <comment id="204303" author="dkador" created="Sun, 2 Dec 2012 01:38:14 +0000"  >&lt;p&gt;Kind of annoying that I can&apos;t put my geo query inside of an $and expression with my other clauses. Makes the code a bit harder to write even though it&apos;s identical to just listing the clauses without the $and. &lt;/p&gt;</comment>
                            <comment id="183874" author="changshuo" created="Thu, 8 Nov 2012 02:22:26 +0000"  >&lt;p&gt;+1 Any update on this?&lt;/p&gt;</comment>
                            <comment id="162319" author="timxi" created="Mon, 10 Sep 2012 12:06:52 +0000"  >&lt;p&gt;I think this feature is very import for our project.  We need search members who are within multiple polygons with $or&lt;/p&gt;</comment>
                            <comment id="155297" author="jsalonen" created="Tue, 21 Aug 2012 09:42:22 +0000"  >&lt;p&gt;+1 &lt;/p&gt;

&lt;p&gt;Meanwhile, a workaround would be much appreciated.&lt;/p&gt;</comment>
                            <comment id="116018" author="userpassword" created="Thu, 3 May 2012 14:45:55 +0000"  >&lt;p&gt;Example I had database witch job offers:&lt;/p&gt;

&lt;p&gt;Some jobs are with multi localization OK no problem i solved this &lt;/p&gt;

&lt;p&gt;But some are specify only to some region&lt;/p&gt;

&lt;p&gt;Eq:&lt;br/&gt;
lat =&amp;gt; 21,131231 , 12,43243241&lt;br/&gt;
$and =&amp;gt; province =&amp;gt; 12&lt;/p&gt;

&lt;p&gt;and Question How i make this ?&lt;/p&gt;

&lt;p&gt;SELECT * FROM jobs WHERE province = 12 AND geo NEAR($LAT);&lt;/p&gt;

&lt;p&gt;Imprisbre &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/wink.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;

&lt;p&gt;Yep i can make spageti code add to LAT all city in province about 3 thousand &lt;/p&gt;



&lt;p&gt;A&lt;/p&gt;
</comment>
                            <comment id="109881" author="klepa" created="Sat, 14 Apr 2012 16:32:00 +0000"  >&lt;p&gt;+1&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="99676">SERVER-11836</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="38932">SERVER-5858</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="195548">SERVER-18004</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="34140" name="server3984.js" size="1025" author="benety.goh@mongodb.com" created="Wed, 20 Nov 2013 20:09:14 +0000"/>
                    </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>Sat, 14 Apr 2012 16:32:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 44 weeks, 2 days 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 44 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>klepa</customfieldvalue>
            <customfieldvalue>alonho</customfieldvalue>
            <customfieldvalue>benety.goh@mongodb.com</customfieldvalue>
            <customfieldvalue>dkador</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>userpassword</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
            <customfieldvalue>jsalonen</customfieldvalue>
            <customfieldvalue>robber</customfieldvalue>
            <customfieldvalue>rcino</customfieldvalue>
            <customfieldvalue>changshuo</customfieldvalue>
            <customfieldvalue>timxi</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrop5b:</customfieldvalue>

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

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

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