<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:16 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>[CSHARP-950] Misplaced $maxDistance inside of $near</title>
                <link>https://jira.mongodb.org/browse/CSHARP-950</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Misplaced $maxDistance inside of $near&lt;/p&gt;

&lt;p&gt;see: &lt;a href=&quot;http://docs.mongodb.org/master/release-notes/2.6-compatibility/#maxdistance-changes&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/master/release-notes/2.6-compatibility/#maxdistance-changes&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In previous version, $maxDistance could be either inside or outside the $near document.&lt;br/&gt;
You must update any existing $near queries on GeoJSON data that currently have the $maxDistance outside the $near document&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.places.find( { loc : { $near :&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                          { $geometry :&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                            { type : &quot;Point&quot; ,&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                              coordinates: [ 40 , 5 ] }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                            $maxDistance : 500&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                          },&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                        }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                } )&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</description>
                <environment>windows 8, windows 2008, mongodb 2.6.0</environment>
        <key id="130547">CSHARP-950</key>
            <summary>Misplaced $maxDistance inside of $near</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="maosoft">Marcelo Adrian Oliveto</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Apr 2014 04:11:16 +0000</created>
                <updated>Thu, 2 Apr 2015 18:28:08 +0000</updated>
                            <resolved>Wed, 23 Apr 2014 20:41:50 +0000</resolved>
                                    <version>1.9</version>
                                    <fixVersion>1.9.1</fixVersion>
                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="582747" author="moliveto" created="Tue, 13 May 2014 23:26:44 +0000"  >&lt;p&gt;Hi Robert:&lt;/p&gt;

&lt;p&gt;Might you know when it would release the version 1.9.1.&lt;br/&gt;
I look forward to trying it.&lt;br/&gt;
I&apos;m hoping this patch migrate my system to version 2.6 of mongo.&lt;br/&gt;
I await news.&lt;/p&gt;

&lt;p&gt;Thanks you so much.&lt;br/&gt;
Kind regards.&lt;/p&gt;


</comment>
                            <comment id="571613" author="rstam" created="Sat, 3 May 2014 12:13:16 +0000"  >&lt;p&gt;The current plan is to deploy 1.9.1 on May 6 or 7.&lt;/p&gt;</comment>
                            <comment id="571455" author="moliveto" created="Sat, 3 May 2014 05:03:34 +0000"  >&lt;p&gt;How i can get the fix for this issue?&lt;br/&gt;
When your will deploy the 1.9.1 version?&lt;/p&gt;

&lt;p&gt;Regards&lt;/p&gt;


</comment>
                            <comment id="560812" author="xgen-internal-githook" created="Wed, 23 Apr 2014 20:41:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-950&quot; title=&quot;Misplaced $maxDistance inside of $near&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-950&quot;&gt;&lt;del&gt;CSHARP-950&lt;/del&gt;&lt;/a&gt;: Skip GeoJson integration tests when connected to older servers that don&apos;t support GeoJson.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/95909d46921fcfe8edd3d914e2fe60761c761302&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/95909d46921fcfe8edd3d914e2fe60761c761302&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="560811" author="xgen-internal-githook" created="Wed, 23 Apr 2014 20:41:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-950&quot; title=&quot;Misplaced $maxDistance inside of $near&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-950&quot;&gt;&lt;del&gt;CSHARP-950&lt;/del&gt;&lt;/a&gt;: Added integration tests with the server.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/03ea08c44767b1193743d079ebe8b94f23021fba&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/03ea08c44767b1193743d079ebe8b94f23021fba&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="560810" author="xgen-internal-githook" created="Wed, 23 Apr 2014 20:41:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-950&quot; title=&quot;Misplaced $maxDistance inside of $near&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-950&quot;&gt;&lt;del&gt;CSHARP-950&lt;/del&gt;&lt;/a&gt;: For GeoJson $near queries $maxDistance goes inside $near.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/85ad153c151c99470c41cfa297ef121f471586ae&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/85ad153c151c99470c41cfa297ef121f471586ae&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="560804" author="xgen-internal-githook" created="Wed, 23 Apr 2014 20:35:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-950&quot; title=&quot;Misplaced $maxDistance inside of $near&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-950&quot;&gt;&lt;del&gt;CSHARP-950&lt;/del&gt;&lt;/a&gt;: Skip GeoJson integration tests when connected to older servers that don&apos;t support GeoJson.&lt;br/&gt;
Branch: v1.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/c3ac1e4b376a6ea455f1758b2fe08aee74471d46&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/c3ac1e4b376a6ea455f1758b2fe08aee74471d46&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="560803" author="xgen-internal-githook" created="Wed, 23 Apr 2014 20:35:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-950&quot; title=&quot;Misplaced $maxDistance inside of $near&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-950&quot;&gt;&lt;del&gt;CSHARP-950&lt;/del&gt;&lt;/a&gt;: Added integration tests with the server.&lt;br/&gt;
Branch: v1.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/26f88b2e332e0cfb8be4936e407850ddc949cdec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/26f88b2e332e0cfb8be4936e407850ddc949cdec&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="560802" author="xgen-internal-githook" created="Wed, 23 Apr 2014 20:35:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-950&quot; title=&quot;Misplaced $maxDistance inside of $near&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-950&quot;&gt;&lt;del&gt;CSHARP-950&lt;/del&gt;&lt;/a&gt;: For GeoJson $near queries $maxDistance goes inside $near.&lt;br/&gt;
Branch: v1.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/6a182f41a927172891ed423a8156d0ce7836ec85&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/6a182f41a927172891ed423a8156d0ce7836ec85&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="545175" author="craiggwilson" created="Fri, 11 Apr 2014 12:48:13 +0000"  >&lt;p&gt;Thanks for the report. We&apos;ll get this scheduled in.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="130593">DRIVERS-147</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrxwn3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>111943</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="130">Sprint 1 April 14 - May 2</customfieldvalue>

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