<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:56:01 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-84794] $geoWithin queries have missing results when location field has extra sub-fields</title>
                <link>https://jira.mongodb.org/browse/SERVER-84794</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When working with GeoJSON data, we expect location fields to be one sub-object with a &quot;type&quot; and &quot;coordinates&quot; field. When there&apos;s an extra field in the field&apos;s sub-object, some $geoWithin queries miss matching documents.&lt;/p&gt;

&lt;p&gt;See reproducing steps for more details.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2543842">SERVER-84794</key>
            <summary>$geoWithin queries have missing results when location field has extra sub-fields</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="1" iconUrl="https://jira.mongodb.org/images/icons/statuses/open.png" description="">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-integration">Backlog - Query Integration</assignee>
                                    <reporter username="will.buerger@mongodb.com">Will Buerger</reporter>
                        <labels>
                            <label>qi-geo</label>
                    </labels>
                <created>Thu, 11 Jan 2024 21:31:55 +0000</created>
                <updated>Fri, 2 Feb 2024 20:06:37 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25467"><![CDATA[Query Integration]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 2 Feb 2024 17:02:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 weeks, 6 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-3577</customfieldvalue>
                        </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>will.buerger@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-query-integration</customfieldvalue>
            <customfieldvalue>will.buerger@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i37vkv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2pl8k:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;// Insert identical documents with different field orders&lt;/p&gt;

&lt;p&gt;replset &lt;span class=&quot;error&quot;&gt;&amp;#91;direct: primary&amp;#93;&lt;/span&gt; test&amp;gt; db.test.find()&lt;br/&gt;
[&lt;br/&gt;
 {&lt;br/&gt;
  _id: ObjectId(&quot;65a04bdf95d67a5d1230b4c3&quot;),&lt;br/&gt;
  be: &lt;/p&gt;
{
   ua: 209268.984375,
   coordinates: [ -95.90898701416783, -78.02003547216432 ],
   type: &apos;Point&apos;
  }
&lt;p&gt; },&lt;br/&gt;
 {&lt;br/&gt;
  _id: ObjectId(&quot;65a04c0895d67a5d1230b4c4&quot;),&lt;br/&gt;
  be: &lt;/p&gt;
{
   coordinates: [ -95.90898701416783, -78.02003547216432 ],
   type: &apos;Point&apos;,
   ua: 209268.984375
  }
&lt;p&gt; },&lt;br/&gt;
 {&lt;br/&gt;
  _id: ObjectId(&quot;65a04fae95d67a5d1230b4c5&quot;),&lt;br/&gt;
  be: &lt;/p&gt;
{
   coordinates: [ -95.90898701416783, -78.02003547216432 ],
   ua: 209268.984375,
   type: &apos;Point&apos;
  }
&lt;p&gt; },&lt;br/&gt;
 {&lt;br/&gt;
  _id: ObjectId(&quot;65a04fd395d67a5d1230b4c6&quot;),&lt;br/&gt;
  be: &lt;/p&gt;
{
   type: &apos;Point&apos;,
   ua: 209268.984375,
   coordinates: [ -95.90898701416783, -78.02003547216432 ]
  }
&lt;p&gt; },&lt;br/&gt;
 {&lt;br/&gt;
  _id: ObjectId(&quot;65a0506095d67a5d1230b4c7&quot;),&lt;br/&gt;
  be: &lt;/p&gt;
{
   ua: 209268.984375,
   type: &apos;Point&apos;,
   coordinates: [ -95.90898701416783, -78.02003547216432 ]
  }
&lt;p&gt; },&lt;br/&gt;
 {&lt;br/&gt;
  _id: ObjectId(&quot;65a050ae95d67a5d1230b4c8&quot;),&lt;br/&gt;
  be: &lt;/p&gt;
{
   type: &apos;Point&apos;,
   coordinates: [ -95.90898701416783, -78.02003547216432 ],
   ua: 209268.984375
  }
&lt;p&gt; }&lt;br/&gt;
]&lt;br/&gt;
&#160;&lt;br/&gt;
// $geoWithin query only matches documents that don&apos;t have the numeric field as the first field&lt;/p&gt;

&lt;p&gt;replset &lt;span class=&quot;error&quot;&gt;&amp;#91;direct: primary&amp;#93;&lt;/span&gt; test&amp;gt; db.test.find({ $or: [{ &quot;be&quot;: { $geoWithin: &lt;/p&gt;
{ $centerSphere: [[179.03531532305314, 0.7050703681776871], 2.145221550434281] }
&lt;p&gt; } }] })&lt;br/&gt;
[&lt;br/&gt;
 {&lt;br/&gt;
  _id: ObjectId(&quot;65a04c0895d67a5d1230b4c4&quot;),&lt;br/&gt;
  be: &lt;/p&gt;
{
   coordinates: [ -95.90898701416783, -78.02003547216432 ],
   type: &apos;Point&apos;,
   ua: 209268.984375
  }
&lt;p&gt; },&lt;br/&gt;
 {&lt;br/&gt;
  _id: ObjectId(&quot;65a04fae95d67a5d1230b4c5&quot;),&lt;br/&gt;
  be: &lt;/p&gt;
{
   coordinates: [ -95.90898701416783, -78.02003547216432 ],
   ua: 209268.984375,
   type: &apos;Point&apos;
  }
&lt;p&gt; },&lt;br/&gt;
 {&lt;br/&gt;
  _id: ObjectId(&quot;65a04fd395d67a5d1230b4c6&quot;),&lt;br/&gt;
  be: &lt;/p&gt;
{
   type: &apos;Point&apos;,
   ua: 209268.984375,
   coordinates: [ -95.90898701416783, -78.02003547216432 ]
  }
&lt;p&gt; },&lt;br/&gt;
 {&lt;br/&gt;
  _id: ObjectId(&quot;65a050ae95d67a5d1230b4c8&quot;),&lt;br/&gt;
  be: &lt;/p&gt;
{
   type: &apos;Point&apos;,
   coordinates: [ -95.90898701416783, -78.02003547216432 ],
   ua: 209268.984375
  }
&lt;p&gt; }&lt;br/&gt;
]&lt;/p&gt;</customfieldvalue>

                        </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|i37hq7:</customfieldvalue>

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