<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:58:43 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-9596] Comment on: &quot;manual/reference/command/geoNear.txt&quot;</title>
                <link>https://jira.mongodb.org/browse/DOCS-9596</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;In my document there is a array which contain the point, below is an example:&lt;br/&gt;
{&lt;br/&gt;
&quot;detail&quot;: [&lt;br/&gt;
{&lt;br/&gt;
&quot;name&quot;:&quot;jack&quot;,&lt;br/&gt;
&quot;loc&quot;:&lt;/p&gt;
{
&quot;lng&quot;:113.166,
&quot;lat&quot;:23.4485
}
&lt;p&gt;},&lt;br/&gt;
{&lt;br/&gt;
&quot;name&quot;:&quot;tom&quot;,&lt;br/&gt;
&quot;loc&quot;:&lt;/p&gt;
{
&quot;lng&quot;:113.163,
&quot;lat&quot;:23.447
}
&lt;p&gt;}&lt;br/&gt;
]&lt;br/&gt;
}&lt;br/&gt;
When I use command to search:&lt;br/&gt;
db.runCommand( { geoNear:&quot;Table1&quot; ,&lt;br/&gt;
   near:  &lt;/p&gt;
{ type: &quot;Point&quot; , coordinates: [113.167294, 23.447903] }
&lt;p&gt;,&lt;br/&gt;
   spherical: true,&lt;br/&gt;
   includeLocs:true,&lt;br/&gt;
   uniqueDocs:true,&lt;br/&gt;
   maxDistance: 300&lt;br/&gt;
} )&lt;br/&gt;
I want &quot;jack&quot; to be return but &quot;tom&quot; because the distance between tom and &lt;span class=&quot;error&quot;&gt;&amp;#91;113.167294, 23.447903&amp;#93;&lt;/span&gt; is larger then 300 meters. But the command return all of them.  &lt;br/&gt;
How do I limit the result which is just match the condition in Array. Thanks&lt;/p&gt;
</description>
                <environment>mongodb 3.2.7&lt;br/&gt;
&lt;br/&gt;
*Location*: &lt;a href=&quot;https://docs.mongodb.com/v3.2/reference/command/geoNear/#dbcmd.geoNear&quot;&gt;https://docs.mongodb.com/v3.2/reference/command/geoNear/#dbcmd.geoNear&lt;/a&gt;&lt;br/&gt;
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36&lt;br/&gt;
*Referrer*: &lt;a href=&quot;https://docs.mongodb.com/v3.2/reference/command/&quot;&gt;https://docs.mongodb.com/v3.2/reference/command/&lt;/a&gt;&lt;br/&gt;
*Screen Resolution*: 1366 x 768&lt;br/&gt;
</environment>
        <key id="336614">DOCS-9596</key>
            <summary>Comment on: &quot;manual/reference/command/geoNear.txt&quot;</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="ravind.kumar">Ravind Kumar</assignee>
                                    <reporter username="xgen-internal-docs">Docs Collector User</reporter>
                        <labels>
                            <label>collector-298ba4e7</label>
                    </labels>
                <created>Tue, 6 Dec 2016 06:20:23 +0000</created>
                <updated>Mon, 30 Oct 2023 21:19:31 +0000</updated>
                            <resolved>Fri, 24 Mar 2023 20:54:02 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5300013" author="JIRAUSER1264463" created="Fri, 24 Mar 2023 20:54:02 +0000"  >&lt;p&gt;Closing this out on the grounds that:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Details of this request are significantly outdated.&#160;&lt;/li&gt;
	&lt;li&gt;Our documentation has evolved substantially since this request was made.&#160;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Based on this, closing as WON&apos;T DO. Please don&apos;t hesitate to give me a shout or to reopen if you disagree.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 6 Dec 2016 13:07:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        45 weeks, 5 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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            45 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-docs</customfieldvalue>
            <customfieldvalue>ravind.kumar</customfieldvalue>
            <customfieldvalue>sarah.olson@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm9xr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsskrj:</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_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|hrzhbb:</customfieldvalue>

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