<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:47:14 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>[DOCS-4120] For $geoNear, clarify that the &quot;location&quot; field is implicit</title>
                <link>https://jira.mongodb.org/browse/DOCS-4120</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;In the docs for the $geoNear aggregation operator&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.mongodb.org/manual/reference/operator/aggregation/geoNear/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/operator/aggregation/geoNear/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;it&apos;s stated:&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
	&lt;li&gt;The collection must have a geospatial index.&lt;/li&gt;
	&lt;li&gt;The $geoNear requires that a collection have at most only one 2d index and/or only one 2dsphere index.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;However, it would be useful to then explicitly state that the location field does not need to be specified to the operator, since the 2d/2dsphere field from the geospatial index is what will (implicitly) be used.&lt;/p&gt;</description>
                <environment></environment>
        <key id="161453">DOCS-4120</key>
            <summary>For $geoNear, clarify that the &quot;location&quot; field is implicit</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="sam.kleinman">Sam Kleinman</assignee>
                                    <reporter username="kevin.pulo@mongodb.com">Kevin Pulo</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Oct 2014 23:45:02 +0000</created>
                <updated>Mon, 16 Mar 2015 23:51:45 +0000</updated>
                            <resolved>Mon, 20 Oct 2014 19:52:26 +0000</resolved>
                                                    <fixVersion>v1.3.13</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="748888" author="xgen-internal-githook" created="Sat, 25 Oct 2014 18:13:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;devkev&apos;, u&apos;name&apos;: u&apos;Kevin Pulo&apos;, u&apos;email&apos;: u&apos;kev@pulo.com.au&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4120&quot; title=&quot;For $geoNear, clarify that the &amp;quot;location&amp;quot; field is implicit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4120&quot;&gt;&lt;del&gt;DOCS-4120&lt;/del&gt;&lt;/a&gt;: minor typo&lt;/p&gt;

&lt;p&gt;Signed-off-by: Sam Kleinman &amp;lt;samk@10gen.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/8bfe7953d33f6fcd542112455a00ef5d9f86ccea&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/8bfe7953d33f6fcd542112455a00ef5d9f86ccea&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="745645" author="xgen-internal-githook" created="Mon, 20 Oct 2014 19:54:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4120&quot; title=&quot;For $geoNear, clarify that the &amp;quot;location&amp;quot; field is implicit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4120&quot;&gt;&lt;del&gt;DOCS-4120&lt;/del&gt;&lt;/a&gt;: rewording sentence&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/610608a660ac0216487552d361d249289873accb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/610608a660ac0216487552d361d249289873accb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="745644" author="xgen-internal-githook" created="Mon, 20 Oct 2014 19:52:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4120&quot; title=&quot;For $geoNear, clarify that the &amp;quot;location&amp;quot; field is implicit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4120&quot;&gt;&lt;del&gt;DOCS-4120&lt;/del&gt;&lt;/a&gt;: clarify that field with point in geoNear aggregation is implicit&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/f633ddda8db5f97a230557f9f9cc10b556a3f2f0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/f633ddda8db5f97a230557f9f9cc10b556a3f2f0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="745189" author="xgen-internal-githook" created="Mon, 20 Oct 2014 14:32:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4120&quot; title=&quot;For $geoNear, clarify that the &amp;quot;location&amp;quot; field is implicit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4120&quot;&gt;&lt;del&gt;DOCS-4120&lt;/del&gt;&lt;/a&gt;: remaining files&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mms-docs/commit/b09f64cd15fcfc99cec286567db99644e6504af3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mms-docs/commit/b09f64cd15fcfc99cec286567db99644e6504af3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="735219" author="kevin.pulo@10gen.com" created="Tue, 7 Oct 2014 00:27:45 +0000"  >&lt;p&gt;This is not about the &lt;tt&gt;near&lt;/tt&gt; parameter to &lt;tt&gt;$geoNear&lt;/tt&gt;.  This is about &quot;How do I tell &lt;tt&gt;$geoNear&lt;/tt&gt; where to look in my documents for the coordinates?  How do I specify which field in my documents has the coordinates to search?&quot;  The answer is that you don&apos;t need to specify this to &lt;tt&gt;$geoNear&lt;/tt&gt;, because it figures it out itself based on the field used by the (single) 2d/2dsphere index which must be present.&lt;/p&gt;</comment>
                            <comment id="733694" author="samk" created="Fri, 3 Oct 2014 17:16:41 +0000"  >&lt;p&gt;You must specify a &lt;tt&gt;near&lt;/tt&gt; argument to the &lt;tt&gt;$geoNear&lt;/tt&gt; pipeline stage. If you do not, or the argument is malformed the pipeline will fail to execute. If you observe a counter case, you should file that as a SERVER case. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10855" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Actual Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 3 Oct 2014 17:16:41 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 16 weeks, 4 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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 16 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kevin.pulo@mongodb.com</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrqrvj:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>140646</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hryql3:</customfieldvalue>

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